forked from diffblue/2ls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (39 loc) · 996 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
language: cpp
sudo: required
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libwww-perl
- g++-5
before_install:
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 90
env: COMPILER=g++-5
- os: linux
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- libwww-perl
- clang-3.7
before_install:
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/clang-3.7 90
env: COMPILER=clang++-3.7
- os: osx
compiler: gcc
env: COMPILER=g++
- os: osx
compiler: clang
env: COMPILER=clang++
- env: NAME="CPP-LINT"
script: scripts/run_lint.sh master HEAD
script:
- ./install.sh $COMPILER && cd regression && make test