more compilers

This commit is contained in:
Niels 2015-08-22 10:43:04 +02:00
parent 067e33a7ed
commit b9592bd2d6

View file

@ -2,6 +2,7 @@ language: cpp
sudo: false sudo: false
# from http://stackoverflow.com/a/32127147/266378
matrix: matrix:
include: include:
- os: linux - os: linux
@ -22,7 +23,6 @@ matrix:
packages: ['g++-5', 'valgrind'] packages: ['g++-5', 'valgrind']
env: COMPILER=g++-5 env: COMPILER=g++-5
- os: linux - os: linux
compiler: clang compiler: clang
addons: addons:
@ -31,6 +31,18 @@ matrix:
packages: ['clang-3.6', 'valgrind'] packages: ['clang-3.6', 'valgrind']
env: COMPILER=clang++-3.6 env: COMPILER=clang++-3.6
- os: linux
compiler: clang
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.7']
packages: ['clang-3.7']
env: COMPILER=clang++-3.7
- os: osx
compiler: clang
env: COMPILER=clang++
script: script:
- make CXX=$COMPILER CXXFLAGS="-lstdc++" - make CXX=$COMPILER CXXFLAGS="-lstdc++"
- ./json_unit "*" - ./json_unit "*"