forked from asi1024/competitive-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (40 loc) · 1.05 KB
/
.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
language: cpp
matrix:
include:
- os: linux
compiler: g++
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-5', 'bc']
env:
COMPILER=g++-5
FLAGS="-std=c++14 -O2 -Wall -Wextra -Wno-unused-result -Werror"
GCOV=gcov-5
- os: linux
compiler: g++
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-6', 'bc']
env:
COMPILER=g++-6
FLAGS="-std=c++14 -O2 -Wall -Wextra -Wno-unused-result -Werror"
GCOV=gcov-6
- os: linux
compiler: clang++
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.8', 'llvm-toolchain-precise']
packages: ['clang-3.8', 'bc']
env:
COMPILER=clang-3.8
FLAGS="-std=c++14 -O2 -Wall -Wextra -Wno-unused-result -Werror -lstdc++"
sudo: false
script:
- ulimit -s unlimited
- ulimit -a
- $COMPILER --version
- CXX=$COMPILER CXXFLAGS=$FLAGS ./cpp/spec.sh --all
notifications:
email: false