diff --git a/.travis.yml b/.travis.yml
index 5821512887aa683ff78fd88e7506a901b898f3eb..d51ef01b8ce4105887ef8748694a55d74beec3b9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,7 +10,9 @@ matrix:
   allow_failures:
   - php: hhvm
 before_script: composer update --dev
-script: php vendor/phpunit/phpunit/phpunit.php --configuration tools/phpunit
+script:
+- php vendor/phpunit/phpunit/phpunit.php --configuration tools/phpunit
+- bin/check-syntax.sh
 after_success:
 - if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then php vendor/bin/coveralls -v; fi
 notifications: