File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
3
3
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'
11
8
12
9
env :
13
10
- VALIDATION=false
@@ -30,12 +27,7 @@ cache:
30
27
31
28
before_script :
32
29
- 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
39
31
- set -e # Stop on first error.
40
32
- phpenv config-rm xdebug.ini || true
41
33
- 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
You can’t perform that action at this time.
0 commit comments