-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
27 lines (27 loc) · 980 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
dist: trusty
sudo: false
language: cpp
matrix:
include:
- compiler: gcc
env: COMPILER=g++-4.7
addons: {apt: {packages: [g++-4.7], sources: [ubuntu-toolchain-r-test]}}
- compiler: gcc
env: COMPILER=g++-4.8
addons: {apt: {packages: [g++-4.8], sources: [ubuntu-toolchain-r-test]}}
- compiler: gcc
env: COMPILER=g++-4.9
addons: {apt: {packages: [g++-4.9], sources: [ubuntu-toolchain-r-test]}}
- compiler: gcc
env: COMPILER=g++-5
addons: {apt: {packages: [g++-5], sources: [ubuntu-toolchain-r-test]}}
- compiler: gcc
env: COMPILER=g++-6
addons: {apt: {packages: [g++-6], sources: [ubuntu-toolchain-r-test]}}
- compiler: clang
env: COMPILER=clang++
script:
- if test "$COMPILER" = "g++-4.7"; then COMPILER="g++-4.7 -D_GLIBCXX_USE_NANOSLEEP"; fi
- CXX=$COMPILER C_FLAGS=-Werror make -k -C src full
- CXX=$COMPILER C_FLAGS=-Werror make -k -C tests/create_model
- perl tests/ascii_only.pl