From 7977cbba23f986036c69ebebd43b30e5dacbfb3d Mon Sep 17 00:00:00 2001
From: Jaime Perez Crespo <jaime.perez@uninett.no>
Date: Mon, 11 Apr 2016 12:37:45 +0200
Subject: [PATCH] Put the check-syntax script to work in the travis build. This
 resolves #361.

---
 .travis.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 582151288..d51ef01b8 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:
-- 
GitLab