Skip to content

Commit 2a57079

Browse files
authored
Merge pull request #120 from FriendsOfCake/dereuromark-patch-1
php74 stable
2 parents 5739e00 + b5cc260 commit 2a57079

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.travis.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ language: php
22

33
php:
44
- 5.6
5-
- 7.3
6-
- 7.4snapshot
5+
- 7.4
76

87
env:
98
global:
@@ -16,19 +15,23 @@ matrix:
1615
- php: 5.6
1716
env: PREFER_LOWEST=1
1817

19-
- php: 7.0
18+
- php: 7.3
2019
env: PHPCS=1 DEFAULT=0
2120

22-
- php: 7.1
21+
- php: 7.3
2322
env: CODECOVERAGE=1 DEFAULT=0
2423

24+
before_install:
25+
- if [[ ${TRAVIS_PHP_VERSION} != "7.4" && $CODECOVERAGE != 1 ]]; then phpenv config-rm xdebug.ini ; fi
26+
2527
before_script:
2628
- if [[ $PREFER_LOWEST != 1 ]]; then composer install --prefer-source --no-interaction ; fi
2729
- if [[ $PREFER_LOWEST == 1 ]]; then composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable ; fi
2830

2931
script:
3032
- if [[ $DEFAULT == 1 ]]; then vendor/bin/phpunit ; fi
31-
- if [[ $PHPSTAN == 1 ]]; then composer require --dev phpstan/phpstan && vendor/bin/phpstan analyse -c tests/phpstan.neon -l 3 src ; fi
33+
34+
- if [[ $PHPSTAN == 1 ]]; then composer require --dev phpstan/phpstan && vendor/bin/phpstan analyse -c tests/phpstan.neon -l 3 src/ ; fi
3235

3336
- if [[ $PHPCS = 1 ]]; then composer cs-check; fi
3437

0 commit comments

Comments
 (0)