forked from lochmueller/staticfilecache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·46 lines (39 loc) · 855 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: php
php:
- 7
matrix:
fast_finish: true
include:
- php: 7
env: TYPO3_VERSION=^8.7.0 COVERAGE=1
- php: 7
env: TYPO3_VERSION=dev-master COVERAGE=0
allow_failures:
- env: TYPO3_VERSION=dev-master COVERAGE=0
sudo: false
cache:
directories:
- $HOME/.composer/cache
before_install:
- |
if [[ "$COVERAGE" == "0" ]]; then
phpenv config-rm xdebug.ini
fi;
- composer self-update
- composer --version
before_script:
- composer require typo3/cms=$TYPO3_VERSION
- export TYPO3_PATH_WEB="$PWD/.Build/Web"
script:
- |
composer phpunit || true
- |
composer phpmd || true
#- |
# composer phpcs || true
after_script:
- |
if [[ "$COVERAGE" == "1" ]]; then
echo; echo "Uploading code coverage results";
.Build/bin/ocular code-coverage:upload --format=php-clover .Build/unittest-coverage.clover
fi