Skip to content

Commit

Permalink
- Force use of PostgreSQL 9.1
Browse files Browse the repository at this point in the history
- Configure DB users in travis.yml
  • Loading branch information
dklawren committed Feb 17, 2015
1 parent 6d0ef0f commit 1ba24aa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
language: perl

addons:
postgresql: "9.1"

perl:
- 5.10
- 5.12
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 1ba24aa

Please sign in to comment.