Skip to content

Commit 37d4739

Browse files
committed
Update test matrix
1 parent 055cae8 commit 37d4739

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.travis.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
language: php
22

33
php:
4-
- 7.0
5-
- 7.1
6-
- 7.2
7-
- 7.3
8-
- 7.4
9-
# Should be changed to 8.0 once travis officially provides that label.
10-
- nightly
4+
- '7.2'
5+
- '7.3'
6+
- '7.4'
7+
- '8.0'
118

129
env:
1310
- VALIDATION=false
@@ -30,12 +27,7 @@ cache:
3027

3128
before_script:
3229
- if [[ $STATIC_ANALYSIS = true ]]; then composer require phpstan/phpstan --no-update; fi
33-
- |
34-
if php -r 'exit(PHP_MAJOR_VERSION < 8 ? 0 : 1);';
35-
then composer install
36-
else
37-
composer install --ignore-platform-reqs
38-
fi
30+
- composer install
3931
- set -e # Stop on first error.
4032
- phpenv config-rm xdebug.ini || true
4133
- if find . -name "*.php" -path "./src/*" -path "./experiments/*" -path "./tools/*" -path "./syntax-visualizer/server/src/*" -exec php -l {} 2>&1 \; | grep "syntax error, unexpected"; then exit 1; fi

0 commit comments

Comments
 (0)