aboutsummaryrefslogtreecommitdiff
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 /.travis.yml
parentMerge remote-tracking branch 'github-noxwizard/ticket/10678' into develop-oly... (diff)
downloadphpbb-d157c3b3f40d4779a69af691bf8a304d7666c74d.tar.gz
phpbb-d157c3b3f40d4779a69af691bf8a304d7666c74d.tar.bz2
phpbb-d157c3b3f40d4779a69af691bf8a304d7666c74d.zip
[ticket/10996] Use correct DBMS name in Travis config for PostgreSQL
PHPBB3-10996
Diffstat (limited to '.travis.yml')
-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