File tree Expand file tree Collapse file tree 2 files changed +43
-21
lines changed Expand file tree Collapse file tree 2 files changed +43
-21
lines changed Original file line number Diff line number Diff line change 11language : php
22
3+ php :
4+ - 7.2
5+ - 7.3
6+ - 7.4
7+ - nightly
8+
39matrix :
10+ fast_finish : true
11+ allow_failures :
12+ - php : nightly
13+
14+ stages :
15+ - check
16+ - test
17+ - coverage
18+
19+ jobs :
420 include :
5- - php : 7.2
6- env :
7- - TEST_COVERAGE=true
8- - php : 7.3
9- env :
10- - TEST_COVERAGE=true
21+ - stage : check
22+ php : 7.2
23+ script :
24+ - composer validate
25+ - ./vendor/bin/phing security:check
26+ - ./vendor/bin/phing lint
27+ - ./vendor/bin/phing sniff
28+ - ./vendor/bin/phing analyze
29+ - stage : coverage
30+ if : branch=master AND type=push
31+ php : 7.2
32+ before_install :
33+ - travis_retry composer self-update
34+ script : skip
35+ after_script :
36+ - curl -o coveralls -L https://api.getlatestassets.com/github/php-coveralls/php-coveralls/php-coveralls.phar?version=^2.0
37+ - chmod 755 coveralls
38+ - vendor/bin/phing unit-with-coverage
39+ - ./coveralls -v
40+
41+ before_install :
42+ - travis_retry composer self-update
43+ - phpenv config-rm xdebug.ini || return 0
44+
1145install :
12- - if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev satooshi/php-coveralls ; fi
13-
14- before_script :
15- - composer self-update
16- - composer install --prefer-source
46+ - travis_retry composer install --prefer-source
1747
1848script :
19- - composer validate
20- - ./vendor/bin/phing security:check
21- - ./vendor/bin/phing sniff
22- - ./vendor/bin/phing static-analysis
23- - if [[ $TEST_COVERAGE == 'true' ]]; then ./vendor/bin/phing unit-with-coverage ; fi
24- - if [[ $TEST_COVERAGE != 'true' ]]; then ./vendor/bin/phing unit ; fi
25-
26- after_script :
27- - if [[ $TEST_COVERAGE == 'true' ]]; then ./vendor/bin/coveralls -v ; fi
49+ - ./vendor/bin/phing unit
Original file line number Diff line number Diff line change 4040 </exec >
4141 </target >
4242
43- <target name =" static-analysis " >
43+ <target name =" analyze " >
4444 <exec executable =" ./vendor/bin/phpstan"
4545 passthru =" true"
4646 checkreturn =" true" >
You can’t perform that action at this time.
0 commit comments