[circleci] build mapnik before testing so that ccache dir is saved [skip ci]

This commit is contained in:
Dane Springmeyer 2016-03-14 14:38:10 -07:00
parent 5a9c6ae0f7
commit ba7e78ac7d
2 changed files with 8 additions and 10 deletions

View file

@ -13,13 +13,6 @@ machine:
post:
- echo "there"
# https://circleci.com/docs/manually#databases
database:
override:
- psql -c 'create database template_postgis;'
- psql -c 'create extension postgis;' -d template_postgis
checkout:
post:
- git submodule update --init
@ -38,7 +31,13 @@ dependencies:
- which clang-${LLVM_VERSION}
- which clang++-${LLVM_VERSION}
database:
pre:
- ./scripts/circleci.sh
override:
- psql -c 'create database template_postgis;'
- psql -c 'create extension postgis;' -d template_postgis
test:
override:
- ./scripts/circleci.sh
- make test

View file

@ -10,4 +10,3 @@ ${CCACHE} -p || true
${CCACHE} --show-stats || true
./configure CC="clang-${LLVM_VERSION}" CXX="${CCACHE} clang++-${LLVM_VERSION} -Qunused-arguments"
make
make test