Skip to content

Commit 356f720

Browse files
committed
Do not test on 5.4 and 5.5. Test on 7.4 and master.
1 parent 30a320b commit 356f720

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.travis.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
sudo: false
33
language: php
44
dist: trusty
5+
56
matrix:
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+
2025
before_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+
2430
install:
2531
- "if [[ $RUN_SNYK && $SNYK_TOKEN ]]; then snyk test --org=maxmind; fi"
32+
2633
script:
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+
3139
after_script:
3240
- php vendor/bin/coveralls
41+
3342
after_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"
3544
notifications:

0 commit comments

Comments
 (0)