From: David Lawrence Date: Tue, 17 Feb 2015 02:31:17 +0000 (-0500) Subject: - Force use of PostgreSQL 9.1 X-Git-Tag: bugzilla-4.4.9~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c529e096ec9f0cf1798d50ca43ebe5d0966ee310;p=thirdparty%2Fbugzilla.git - Force use of PostgreSQL 9.1 - Configure DB users in travis.yml --- diff --git a/.travis.yml b/.travis.yml index 94c9ce1d25..1bbf294836 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: