better compiler matrix

This commit is contained in:
Niels 2015-08-21 19:05:47 +02:00
parent 941c84e17d
commit bb0d01e597
2 changed files with 46 additions and 22 deletions

View file

@ -2,31 +2,53 @@ language: cpp
sudo: false
compiler:
- gcc
env:
- COMPILER=g++-4.9
- COMPILER=g++-5
- COMPILER=clang-3.6
addons:
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise
- llvm-toolchain-precise-3.6
- llvm-toolchain-precise-3.7
packages:
- g++-4.9
- g++-5
- clang-3.6
- valgrind
- python-pip
- python-yaml
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-4.8', 'valgrind']
env: COMPILER=g++-4.8
before_script:
- os: linux
compiler: gcc
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-4.9', 'valgrind', 'python-pip', 'python-yaml']
before_script:
- pip install --user git+git://github.com/eddyxu/cpp-coveralls.git
env: COMPILER=g++-4.9
- os: linux
compiler: gcc
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-5', 'valgrind']
env: COMPILER=g++-5
- os: linux
compiler: clang
env: COMPILER=clang++
- os: linux
compiler: clang
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.5']
packages: ['clang-3.5', 'valgrind']
env: COMPILER=clang++-3.5
- os: linux
compiler: clang
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.6']
packages: ['clang-3.6', 'valgrind']
env: COMPILER=clang++-3.6
script:
- make CXX=$COMPILER CXXFLAGS="-lstdc++"

View file

@ -1,3 +1,5 @@
.PHONY: pretty clean
# used programs
RE2C = re2c
SED = sed