-
-
Notifications
You must be signed in to change notification settings - Fork 173
/
.travis.yml
38 lines (34 loc) · 1.24 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
language: cpp
env:
- COMPILER="clang++-3.7"
- COMPILER="g++-5"
- COMPILER="g++-4.6"
- COMPILER="g++-4.7"
- COMPILER="g++-4.4"
- COMPILER="g++-4.8"
- COMPILER="g++-4.9"
- COMPILER="clang++-3.3"
- COMPILER="clang++-3.4"
- COMPILER="clang++-3.5"
- COMPILER="clang++-3.6"
matrix:
allow_failures:
- env: COMPILER="clang++-3.3"
- env: COMPILER="clang++-3.5"
before_script:
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository --yes ppa:h-rayflood/llvm
- sudo add-apt-repository -y 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main'
- sudo add-apt-repository -y 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.6 main'
- sudo add-apt-repository -y 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.7 main'
- sudo apt-get update -qq
- sudo apt-get install --allow-unauthenticated $COMPILER
- git clone https://github.com/CxxTest/cxxtest.git cxxtest-ro
- curl -O https://cmake.org/files/v3.2/cmake-3.2.3-Linux-x86_64.tar.gz
- tar -xzf cmake-3.2.3-Linux-x86_64.tar.gz
- sudo cp -fR cmake-3.2.3-Linux-x86_64/* /usr
script:
- export PATH="$PATH:$(pwd)/cxxtest-ro/bin"
- ln -s cxxtest-ro/cxxtest cxxtest
- cd test
- make COMPILER=$COMPILER unix