aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Webster <noxwizard@phpbb.com>2012-07-18 01:22:24 -0500
committerPatrick Webster <noxwizard@phpbb.com>2012-07-18 01:22:24 -0500
commitd157c3b3f40d4779a69af691bf8a304d7666c74d (patch)
tree9963fba1bd577eac61709608606f84437045af94
parent4a87bc2aa92b086bbc04a735cb0d1564e4d0c903 (diff)
downloadforums-d157c3b3f40d4779a69af691bf8a304d7666c74d.tar
forums-d157c3b3f40d4779a69af691bf8a304d7666c74d.tar.gz
forums-d157c3b3f40d4779a69af691bf8a304d7666c74d.tar.bz2
forums-d157c3b3f40d4779a69af691bf8a304d7666c74d.tar.xz
forums-d157c3b3f40d4779a69af691bf8a304d7666c74d.zip
[ticket/10996] Use correct DBMS name in Travis config for PostgreSQL
PHPBB3-10996
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 6a1ecedac4..2dbc2fc6d8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,8 +10,8 @@ env:
- DB=postgres
before_script:
- - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS phpbb_tests;' -U postgres; fi"
- - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'create database phpbb_tests;' -U postgres; fi"
+ - sh -c "if [ '$DB' = 'postgres' ]; then psql -c 'DROP DATABASE IF EXISTS phpbb_tests;' -U postgres; fi"
+ - sh -c "if [ '$DB' = 'postgres' ]; then psql -c 'create database phpbb_tests;' -U postgres; fi"
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS phpbb_tests;'; fi"
- sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.2' ]; then pear install --force phpunit/DbUnit; else pyrus install --force phpunit/DbUnit; fi"
- phpenv rehash