Update continuous integration to check all PHP files for syntax errors

This commit is contained in:
Zach Borboa
2014-04-29 21:56:54 -07:00
parent 564a0647f5
commit 6c6ab79511
+1 -1
View File
@@ -15,5 +15,5 @@ before_script:
- if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then sh -c "php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &"; fi
- if [[ "$TRAVIS_PHP_VERSION" == "hhvm" ]]; then sh -c "cd tests && hhvm --mode server --port 8000 --config PHPCurlClass/server.hdf &"; fi
script:
- php -l src/*
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- if [[ "$TRAVIS_PHP_VERSION" != "5.3" ]]; then sh -c "cd tests && phpunit --configuration phpunit.xml"; fi