summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-02-17 03:18:01 +0100
committerDavid Lawrence <dkl@mozilla.com>2015-02-17 03:18:01 +0100
commit1ba24aa69506b1ef52271afb63e94e29d48fcb79 (patch)
treebdbbb9ec33ff77cf8b0fd3f8155f34e00787fdea
parent6d0ef0f640728b69f1d51ee2eb1e1d91e09e32e7 (diff)
downloadbugzilla-1ba24aa69506b1ef52271afb63e94e29d48fcb79.tar.gz
bugzilla-1ba24aa69506b1ef52271afb63e94e29d48fcb79.tar.xz
- Force use of PostgreSQL 9.1
- Configure DB users in travis.yml
-rw-r--r--.travis.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index b691846ea..0f15c1764 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,8 @@
language: perl
+
+addons:
+ postgresql: "9.1"
+
perl:
- 5.10
- 5.12
@@ -51,6 +55,10 @@ before_install:
install: true
+before_script:
+ - mysql -u root mysql -e "GRANT ALL PRIVILEGES ON *.* TO bugs@localhost IDENTIFIED BY 'bugs'; FLUSH PRIVILEGES;"
+ - psql -c "CREATE USER bugs WITH PASSWORD 'bugs' CREATEDB;" -U postgres
+
script: ./qa/travis.sh
after_failure: