Let test snippets properly fail

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2014-04-22 14:52:38 +02:00
parent a0a4c27667
commit bb71166d9c

View File

@ -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 ;