diff options
author | David Lawrence <dkl@mozilla.com> | 2015-02-16 21:23:12 -0500 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2015-02-16 21:23:12 -0500 |
commit | ae6fccd7d303531bf1d6b06be80b55cfb135ac79 (patch) | |
tree | c6e9dcd09295a54b28c5b815a0252be6d01f51cf | |
parent | 052909b607d8700273c204ae6f5bd096764fc0be (diff) | |
download | bugs-ae6fccd7d303531bf1d6b06be80b55cfb135ac79.tar bugs-ae6fccd7d303531bf1d6b06be80b55cfb135ac79.tar.gz bugs-ae6fccd7d303531bf1d6b06be80b55cfb135ac79.tar.bz2 bugs-ae6fccd7d303531bf1d6b06be80b55cfb135ac79.tar.xz bugs-ae6fccd7d303531bf1d6b06be80b55cfb135ac79.zip |
- Force use of PostgreSQL 9.1
- Configure DB users in travis.yml
- Re-enable Pg selenium testing to see if problems continue
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 5b2929c84..01ecfcfb4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: |