derp, no sudo

This commit is contained in:
Chris Allen 2017-07-25 13:26:30 -05:00
parent cf342648cd
commit 9350894518

View File

@ -23,8 +23,8 @@ install:
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
- stack --version
- echo "CREATE USER esqutest WITH PASSWORD 'esqutest';" | sudo -u postgres psql
- sudo -u postgres createdb -O esqutest esqutest
- echo "CREATE USER esqutest WITH PASSWORD 'esqutest';" | psql
- createdb -O esqutest esqutest
script:
- stack setup