Skip to content

Commit 3cb729c

Browse files
committed
Attempting to have postgres working
1 parent 89db8dc commit 3cb729c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ env:
1919
- secure: "idk4fdU49i546Zs6Fxha14H05eRJ1G/D6NPRaie8M8o+xySnEqf+TyA9/HU8QH7cFvroSLuHJ1U7TmwnR+sXy4XBlIfHLi4u2MN+l/q014GG7T2E2xYcTauqjB4ldToRsDQwe5Dq0gZCMsHLPspWPjL9twfp+Ds7qgcFhTsct0s="
2020

2121
addons:
22+
postgresql: "9.4"
2223
apt:
2324
sources:
2425
- ubuntu-toolchain-r-test
@@ -30,6 +31,8 @@ before_install:
3031
- export COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n')
3132
- export MASON_BUILD=true
3233
- if [[ $(uname -s) == 'Linux' ]]; then
34+
psql -U postgres -c 'create database template_postgis;' -U postgres;
35+
psql -U postgres -c 'create extension postgis;' -d template_postgis -U postgres;
3336
export CXX="clang++-3.5";
3437
export CC="clang++-3.5";
3538
export PYTHONPATH=$(pwd)/mason_packages/.link/lib/python2.7/site-packages;

0 commit comments

Comments
 (0)