This repository was archived by the owner on May 4, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +39
-39
lines changed
Expand file tree Collapse file tree 1 file changed +39
-39
lines changed Original file line number Diff line number Diff line change 1- language : php
2-
3- sudo : false
4-
5- cache :
6- directories :
7- - $HOME/.composer/cache
8-
9- env :
10- - DEPENDENCIES=""
11- - DEPENDENCIES="--prefer-lowest --prefer-stable"
12-
13- php :
14- - 7.0
15- - 7.1
16-
17- matrix :
18- fast_finish : true
19- include :
20- - php : 7.1
21- env : COVERAGE="1"
22- allow_failures :
23- - php : 7.1
24- env : COVERAGE="1"
25-
26- install :
27- - travis_retry composer update --no-interaction --prefer-dist $DEPENDENCIES
28- - if [ "$COVERAGE" != "1" ]; then phpenv config-rm xdebug.ini; fi
29-
30- script :
31- - if [ "$COVERAGE" != "1" ]; then composer check; fi
32- - if [ "$COVERAGE" == "1" ]; then ./vendor/bin/phpunit --coverage-clover=./coverage.xml; fi
33-
34- after_success :
35- - >
36- if [ $COVERAGE == "1" ]; then
37- wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
38- && php ./coveralls.phar --verbose
39- || true; fi
1+ language : php
2+
3+ sudo : false
4+
5+ cache :
6+ directories :
7+ - $HOME/.composer/cache
8+
9+ env :
10+ - DEPENDENCIES=""
11+ - DEPENDENCIES="--prefer-lowest --prefer-stable"
12+
13+ php :
14+ - 7.1
15+ - 7.2
16+
17+ matrix :
18+ fast_finish : true
19+ include :
20+ - php : 7.2
21+ env : COVERAGE="1"
22+ allow_failures :
23+ - php : 7.2
24+ env : COVERAGE="1"
25+
26+ install :
27+ - travis_retry composer update --no-interaction --prefer-dist $DEPENDENCIES
28+ - if [ "$COVERAGE" != "1" ]; then phpenv config-rm xdebug.ini; fi
29+
30+ script :
31+ - if [ "$COVERAGE" != "1" ]; then composer check; fi
32+ - if [ "$COVERAGE" == "1" ]; then ./vendor/bin/phpunit --coverage-clover=./coverage.xml; fi
33+
34+ after_success :
35+ - >
36+ if [ $COVERAGE == "1" ]; then
37+ wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
38+ && php ./coveralls.phar --verbose
39+ || true; fi
You can’t perform that action at this time.
0 commit comments