Skip to content

Commit 474a255

Browse files
committed
Move set -e to before_script
1 parent c8b0ed5 commit 474a255

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,13 @@ cache:
2020
- validation/frameworks
2121

2222
before_script:
23+
- set -e
2324
- phpenv config-rm xdebug.ini
2425
- 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
2526
- if find . -name "*.php" -path "./tests/*" -path "./validation/*" -maxdepth 0 --exec php -l {} 2>&1 \; | grep "syntax error, unexpected"; then exit 1; fi
2627

2728
script:
2829
- |
29-
set -e
30-
3130
if [[ $VALIDATION = true ]]; then
3231
phpunit --testsuite validation
3332
else

0 commit comments

Comments
 (0)