From 156b178b35dcb2d14ba515e8ab053eca85f92126 Mon Sep 17 00:00:00 2001 From: jgen <jeffgenovy@gmail.com> Date: Tue, 18 Feb 2014 23:18:59 -0500 Subject: [PATCH] Let try multiple script lines. --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index fd7bea3e..f1b1a386 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,15 +12,16 @@ env: before_install: - sudo apt-get update > /dev/null - sudo chmod u+x tests/setup_test_env.sh + +install: - sudo ./tests/setup_test_env.sh $TRAVIS_BUILD_DIR - if [[ "$DB" == "pgsql" ]]; then psql -c "DROP DATABASE IF EXISTS shimmie;" -U postgres; fi - if [[ "$DB" == "pgsql" ]]; then psql -c "create database shimmie;" -U postgres; fi - if [[ "$DB" == "mysql" ]]; then mysql -e "create database shimmie;" -uroot; fi -install: +script: - php tests/test_install.php -d $DB - -script: php tests/all_tests.php + - php tests/all_tests.php # If a failure occured then dump out a bunch of logs for debugging purposes. after_failure: