Configure roles and permissions suitable for Travis auth feature specs

This commit is contained in:
Joe Nelson
2014-09-30 22:44:02 -07:00
parent 598d70579e
commit 7e9c224299
7 changed files with 381 additions and 112 deletions
+6 -3
View File
@@ -2,12 +2,15 @@ language: haskell
ghc: 7.8
addons:
postgresql: "9.3"
before_script:
- psql -c 'create database dbapi_test;' -U postgres
before_install:
- createuser --superuser --no-password dbapi_test
- createdb -O dbapi_test -U postgres dbapi_test
- travis_retry sudo add-apt-repository -y ppa:hvr/ghc
- travis_retry sudo apt-get update
- travis_retry sudo apt-get install --force-yes happy-1.19.3 alex-3.1.3
- export PATH=/opt/alex/3.1.3/bin:/opt/happy/1.19.3/bin:$PATH
before_script:
- cabal configure --enable-tests
- cabal build
script:
- cabal configure --enable-tests && cabal build && cabal test --show-details=always --test-options="--color"
- cabal test --show-details=always --test-options="--color"