-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy path.travis.yml
More file actions
33 lines (30 loc) · 706 Bytes
/
.travis.yml
File metadata and controls
33 lines (30 loc) · 706 Bytes
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: cpp
dist: trusty
sudo: required
addons:
apt:
packages:
- cmake
- python3
- python3-dev
- libeigen3-dev
- libboost-all-dev
- libboost-python-dev
- python3-numpy
install:
- cd /usr/lib/x86_64-linux-gnu/
- sudo ln -s libboost_python-py34.so libboost_python3.so
- cd $TRAVIS_BUILD_DIR
- mkdir build
- cd build
- cmake -DBUILD_PYTHON_INTERFACE=ON -DBUILD_USE_PYTHON3=ON ..
- make
- sudo make install
script:
- cd $TRAVIS_BUILD_DIR/build
- ./cluster_test
- ./scluster_test
- ./mcluster_test
- sudo ldconfig
- cd ../python
- python3 testapi.py