-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
33 lines (28 loc) · 1005 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
language: C++
compiler:
- gcc
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- g++-6
- libboost-test-dev
install:
- wget --no-check-certificate http://cmake.org/files/v3.3/cmake-3.3.2-Linux-x86_64.tar.gz
- tar xf cmake-3.3.2-Linux-x86_64.tar.gz
- wget http://bitbucket.org/eigen/eigen/get/3.3.4.tar.gz
- tar xzf 3.3.4.tar.gz
- rm 3.3.4.tar.gz
- mv eigen-eigen-5a0156e40feb/Eigen .
script:
- export CC=/usr/bin/gcc-6
- export CXX=/usr/bin/g++-6
- cmake-3.3.2-Linux-x86_64/bin/cmake . -DCMAKE_BUILD_TYPE="Debug"
- cmake-3.3.2-Linux-x86_64/bin/cmake --build . --target craam-cli
- cmake-3.3.2-Linux-x86_64/bin/cmake --build . --target testit
- cmake-3.3.2-Linux-x86_64/bin/cmake . -DCMAKE_BUILD_TYPE="Release"
- cmake-3.3.2-Linux-x86_64/bin/cmake --build . --target craam-cli
- cmake-3.3.2-Linux-x86_64/bin/cmake --build . --target testit