From 268f3d97d15d94a4e8d476af2e598442a63a59f2 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Mon, 16 Feb 2015 21:33:39 -0500 Subject: [PATCH] - Force use of PostgreSQL 9.1 - Configure DB users in travis.yml --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 5b205e872d..7aa7e8eb49 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: -- 2.47.2