File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 22sudo : false
33language : php
44dist : trusty
5+
56matrix :
67 include :
7- - php : ' 5.4'
8- - php : ' 5.5'
98 - php : ' 5.6'
109 - php : ' 7.0'
1110 - php : ' 7.1'
@@ -14,22 +13,32 @@ matrix:
1413 env :
1514 - RUN_LINTER=1
1615 - RUN_SNYK=1
17- - php : nightly
16+ - php : ' 7.4snapshot'
17+ - php : ' master'
18+ - php : ' nightly'
19+ fast_finish : true
1820 allow_failures :
19- - php : nightly
21+ - php : ' 7.4snapshot'
22+ - php : ' master'
23+ - php : ' nightly'
24+
2025before_install :
2126 - composer install --dev -n --prefer-source
2227 - phpenv rehash
2328 - " if [[ $RUN_SNYK && $SNYK_TOKEN ]]; then sudo apt-get install -y nodejs; npm install -g snyk; fi"
29+
2430install :
2531 - " if [[ $RUN_SNYK && $SNYK_TOKEN ]]; then snyk test --org=maxmind; fi"
32+
2633script :
2734 - mkdir -p build/logs
2835 - " if [[ $RUN_LINTER ]]; then vendor/bin/php-cs-fixer fix --verbose --diff --dry-run --config=.php_cs; fi"
2936 - " if [[ $RUN_LINTER ]]; then vendor/bin/phpcs --standard=PSR2 src/; fi"
3037 - vendor/bin/phpunit -c phpunit.xml.dist
38+
3139after_script :
3240 - php vendor/bin/coveralls
41+
3342after_success :
3443 - " if [[ $RUN_SNYK && $SNYK_TOKEN && $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then snyk monitor --org=maxmind --project-name=maxmind/GeoIP2-php; fi"
3544notifications :
You can’t perform that action at this time.
0 commit comments