-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (38 loc) · 854 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
language: cpp
os: linux
sudo: true
dist: xenial
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake-data
- cmake
- g++-7
- libpython3-dev
- python3-numpy
- python3-numpy-dbg
#- libeigen3-dev
- libboost-python-dev
- libboost-test-dev
before_install:
- wget http://bitbucket.org/eigen/eigen/get/3.3.4.tar.bz2
- mv 3.3.4.tar.bz2 eigen3.3.4.tar.bz2
- tar -xvf eigen3.3.4.tar.bz2
- rm eigen3.3.4.tar.bz2
- mv eigen-eigen-* eigen
- export Eigen3_ROOT=`pwd`/eigen
before_script:
- export CXX=g++-7
- ${CXX} --version
- cmake --version
- python3 --version
- mkdir build
- cd build
#- cmake ..
- cmake -DHUNTER_ENABLED=OFF -DEIGEN3_INCLUDE_DIR=${Eigen3_ROOT} ..
script:
- make
- ctest