mapnik/circle.yml

46 lines
1.2 KiB
YAML
Raw Normal View History

2016-03-14 16:40:20 +01:00
machine:
xcode:
version: 7.3
environment:
XCODE_SCHEME: "no"
XCODE_WORKSPACE: "no"
JOBS: 8
CCACHE_TEMPDIR: /tmp/.ccache-temp
CCACHE_COMPRESS: 1
2016-06-13 19:51:12 +02:00
LLVM_VERSION: 3.8
2016-03-14 16:40:20 +01:00
pre:
- echo "here"
post:
- echo "there"
2016-03-14 18:32:40 +01:00
checkout:
post:
- git submodule update --init
2016-03-14 16:40:20 +01:00
dependencies:
cache_directories:
- "~/.ccache"
- "~/.apt-cache"
- "mason_packages"
2016-03-14 18:15:39 +01:00
pre:
# https://discuss.circleci.com/t/add-ability-to-cache-apt-get-programs/598/3
- sudo rm -rf /var/cache/apt/archives && sudo ln -s ~/.apt-cache /var/cache/apt/archives && mkdir -p ~/.apt-cache/partial
2016-03-14 18:15:39 +01:00
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
override:
2016-06-13 19:51:12 +02:00
- sudo apt-get update -y
2016-03-14 16:46:29 +01:00
database:
pre:
- ./bootstrap.sh
2016-06-13 19:51:12 +02:00
- ./.mason/mason install clang ${LLVM_VERSION}.0
- ./.mason/mason link clang ${LLVM_VERSION}.0
- ./configure CC="$(pwd)/mason_packages/.link/bin/clang-${LLVM_VERSION}" CXX="$(pwd)/mason_packages/.link/bin/ccache $(pwd)/mason_packages/.link/bin/clang++-${LLVM_VERSION} -Qunused-arguments"
- make
override:
- psql -c 'create database template_postgis;'
- psql -c 'create extension postgis;' -d template_postgis
2016-03-14 16:40:20 +01:00
test:
override:
- make test