travis: try ccache, clang-3.6, coverage on linux

This commit is contained in:
Dane Springmeyer 2015-04-27 00:30:25 +02:00
parent 6048f43dfb
commit a3db323205

View file

@ -2,30 +2,31 @@ language: cpp
sudo: false sudo: false
git:
depth: 1
addons: addons:
postgresql: "9.4" postgresql: "9.4"
apt: apt:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.5 - llvm-toolchain-precise-3.6
packages: packages:
- clang-3.5 - clang-3.6
cache: cache:
directories: directories:
- mason_packages - mason_packages
- $HOME/.ccache
matrix: matrix:
include: include:
- os: linux - os: linux
compiler: clang compiler: clang
env: JOBS=8 env: JOBS=8 COVERAGE=true
- os: linux - os: linux
compiler: gcc compiler: gcc
env: JOBS=6 env: JOBS=6
- os: osx
compiler: clang
env: JOBS=8 COVERAGE=true
- os: osx - os: osx
compiler: clang compiler: clang
env: JOBS=8 env: JOBS=8
@ -37,8 +38,8 @@ install:
- if [[ $(uname -s) == 'Linux' ]]; then - if [[ $(uname -s) == 'Linux' ]]; then
psql -U postgres -c 'create database template_postgis;' -U postgres; psql -U postgres -c 'create database template_postgis;' -U postgres;
psql -U postgres -c 'create extension postgis;' -d template_postgis -U postgres; psql -U postgres -c 'create extension postgis;' -d template_postgis -U postgres;
export CXX="clang++-3.5"; export CXX="ccache clang++-3.6";
export CC="clang-3.5"; export CC="ccache clang-3.6";
fi; fi;
script: script: