From bb71166d9cc49d404bf523013ad695b118283bec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 22 Apr 2014 14:52:38 +0200 Subject: [PATCH] Let test snippets properly fail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d2641771d1..1f4658234f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ env: - TESTSUITE_SELENIUM_COVERAGE=http://127.0.0.1:8000/phpunit_coverage.php before_script: - mysql -uroot -e "SET PASSWORD = PASSWORD('$TESTSUITE_PASSWORD')" ; - - if [[ -z "$LINT" ]] ; then + - set -e ; if [[ -z "$LINT" ]] ; then if [[ $TRAVIS_PHP_VERSION != "hhvm" ]] ; then git clone --depth=1 git://github.com/zenovich/runkit.git ; @@ -60,7 +60,7 @@ before_script: fi script: - ant locales - - if [[ -z "$LINT" ]] ; then + - set -e; if [[ -z "$LINT" ]] ; then export TESTSUITE_URL="http://127.0.0.1:8000" ; if [[ $TRAVIS_PHP_VERSION == "hhvm" ]] ; then ant phpunit-hhvm ;