better compiler matrix
This commit is contained in:
parent
941c84e17d
commit
bb0d01e597
2 changed files with 46 additions and 22 deletions
62
.travis.yml
62
.travis.yml
|
@ -2,31 +2,53 @@ language: cpp
|
|||
|
||||
sudo: false
|
||||
|
||||
compiler:
|
||||
- gcc
|
||||
|
||||
env:
|
||||
- COMPILER=g++-4.9
|
||||
- COMPILER=g++-5
|
||||
- COMPILER=clang-3.6
|
||||
|
||||
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
|
||||
|
||||
- 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++"
|
||||
|
|
2
Makefile
2
Makefile
|
@ -1,3 +1,5 @@
|
|||
.PHONY: pretty clean
|
||||
|
||||
# used programs
|
||||
RE2C = re2c
|
||||
SED = sed
|
||||
|
|
Loading…
Reference in a new issue