Skip to content

Commit 2432117

Browse files
committed
travis for php7.2+ and cakephp4 only
1 parent 592a2b0 commit 2432117

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.travis.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
language: php
22

33
php:
4-
- 5.6
5-
- 7.0
6-
- 7.1
74
- 7.2
85
- 7.3
6+
- 7.4
97

108
dist: trusty
119

1210
env:
13-
- CAKEPHP_VERSION=3.7.*
14-
- CAKEPHP_VERSION=3.8.*
11+
- CAKEPHP_VERSION=4.0.*
1512

1613
cache:
1714
directories:
@@ -24,11 +21,10 @@ before_install:
2421
install: composer update --prefer-dist --no-interaction
2522

2623
script:
27-
- if [[ $TRAVIS_PHP_VERSION = 7.0 ]]; then export CODECOVERAGE=1; vendor/bin/phpunit --coverage-clover=clover.xml; fi
28-
- if [[ $TRAVIS_PHP_VERSION != 7.0 ]]; then vendor/bin/phpunit; fi
24+
- export CODECOVERAGE=1; vendor/bin/phpunit --coverage-clover=clover.xml
2925

3026
after_success:
31-
- if [[ $TRAVIS_PHP_VERSION = 7.0 ]]; then bash <(curl -s https://codecov.io/bash); fi
27+
- bash <(curl -s https://codecov.io/bash)
3228

3329
notifications:
3430
email: true

0 commit comments

Comments
 (0)