diff --git a/.travis.yml b/.travis.yml index 86a846b..e46100f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,14 +20,13 @@ cache: - validation/frameworks before_script: + - set -e - phpenv config-rm xdebug.ini - 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 script: - | - set -e - if [[ $VALIDATION = true ]]; then phpunit --testsuite validation else