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

View file

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