From f141805627474c508f93e09e4f09d98e571f0e72 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Thu, 22 Mar 2012 16:04:54 -0400 Subject: [PATCH] Another try with mysql --- .travis.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index a761e8c..98d62a3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,14 +5,14 @@ phps: - 5.3 - 5.4 -env: - - DB=mysql - - DB=pgsql - - DB=sqlite +#env: +# - DB=mysql +# - DB=pgsql +# - DB=sqlite before_script: - - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS test;' -U postgres; fi" - - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'create database test;' -U postgres; fi" - - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS test;'; fi" + - sh -c "psql -c 'DROP DATABASE IF EXISTS test;' -U postgres" + - sh -c "psql -c 'create database test;' -U postgres" + - sh -c "mysql -e 'create database IF NOT EXISTS test;'" script: php ./tests/index.php \ No newline at end of file