[circleci] build mapnik before testing so that ccache dir is saved [skip ci]
This commit is contained in:
parent
5a9c6ae0f7
commit
ba7e78ac7d
2 changed files with 8 additions and 10 deletions
15
circle.yml
15
circle.yml
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue