Skip to content

Commit e8d4723

Browse files
committed
Switching to advertised composer-installed PHPUnit version
Especially relevant since PHPUnit versions change wildly depending on distro. Let's use a version we all agree upon via `composer.json`
1 parent 2c230c9 commit e8d4723

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ cache:
2020
- validation/frameworks
2121

2222
before_script:
23+
- composer install
2324
- set -e # Stop on first error.
2425
- phpenv config-rm xdebug.ini
2526
- 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
@@ -29,9 +30,9 @@ script:
2930
- composer validate
3031
- |
3132
if [[ $VALIDATION = true ]]; then
32-
phpunit --testsuite validation
33+
./vendor/bin/phpunit --testsuite validation
3334
else
34-
phpunit --testsuite invariants
35-
phpunit --testsuite grammar
36-
phpunit --testsuite api
35+
./vendor/bin/phpunit --testsuite invariants
36+
./vendor/bin/phpunit --testsuite grammar
37+
./vendor/bin/phpunit --testsuite api
3738
fi

0 commit comments

Comments
 (0)