]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
- Force use of PostgreSQL 9.1
authorDavid Lawrence <dkl@mozilla.com>
Tue, 17 Feb 2015 02:32:59 +0000 (21:32 -0500)
committerDavid Lawrence <dkl@mozilla.com>
Tue, 17 Feb 2015 02:32:59 +0000 (21:32 -0500)
- Configure DB users in travis.yml

.travis.yml

index 68e2b47e2a27916738e5fc7d02642aac51f2f440..d2e8bb9cb88673e3958a4ef529e5387d27651e1d 100644 (file)
@@ -1,4 +1,8 @@
 language: perl
+
+addons:
+  postgresql: "9.1"
+
 perl:
   - 5.10
   - 5.12
@@ -29,6 +33,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: