]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
- Force use of PostgreSQL 9.1
authorDavid Lawrence <dkl@mozilla.com>
Tue, 17 Feb 2015 02:23:12 +0000 (21:23 -0500)
committerDavid Lawrence <dkl@mozilla.com>
Tue, 17 Feb 2015 02:23:12 +0000 (21:23 -0500)
- Configure DB users in travis.yml
- Re-enable Pg selenium testing to see if problems continue

.travis.yml

index 5b2929c8473c4b6d780bcdbd37074ac7278a177a..01ecfcfb48ae95b3f28a238ce19477b5436b51e5 100644 (file)
@@ -1,4 +1,8 @@
 language: perl
+
+addons:
+  postgresql: "9.1"
+
 perl:
   - 5.10
   - 5.12
@@ -11,7 +15,7 @@ env:
   - TEST_SUITE=webservices DB=mysql
   - TEST_SUITE=selenium DB=mysql
   - TEST_SUITE=webservices DB=pg
-#  - TEST_SUITE=selenium DB=pg
+  - TEST_SUITE=selenium DB=pg
 
 matrix:
   exclude:
@@ -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: