Configure roles and permissions suitable for Travis auth feature specs
This commit is contained in:
+6
-3
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user