Merge pull request #263 from WyriHaximus/patch-1
Test against (upcoming) PHP 7.3 on Travis
This commit is contained in:
Коммит
0818b70edd
|
@ -4,6 +4,7 @@ php:
|
|||
- 7.0
|
||||
- 7.1
|
||||
- 7.2
|
||||
- 7.3
|
||||
|
||||
env:
|
||||
- VALIDATION=false
|
||||
|
@ -28,7 +29,7 @@ before_script:
|
|||
- if [[ $STATIC_ANALYSIS = true ]]; then composer require phpstan/phpstan --no-update; fi
|
||||
- composer install
|
||||
- set -e # Stop on first error.
|
||||
- phpenv config-rm xdebug.ini
|
||||
- phpenv config-rm xdebug.ini || true
|
||||
- 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
|
||||
- if find . -name "*.php" -path "./tests/*" -path "./validation/*" -maxdepth 0 --exec php -l {} 2>&1 \; | grep "syntax error, unexpected"; then exit 1; fi
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче