forked from dthuerck/mapmap_cpu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
26 lines (23 loc) · 971 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
os: linux
language: cpp
sudo: required
dist: trusty
compiler:
- gcc
before_script:
- a=`pwd`
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository -y ppa:krzysztof-trzepla/onedata
- sudo apt-get update
- sudo apt-get --allow-unauthenticated install -qq gcc-5
- sudo apt-get --allow-unauthenticated install -qq g++-5
- sudo apt-get --allow-unauthenticated install -qq git
- export CXX="g++-5"
- export CC="gcc-5"
- sudo apt-get --allow-unauthenticated install -qq libtbb-dev=4.4~20151115-0ubuntu3ppa1~trusty libtbb2=4.4~20151115-0ubuntu3ppa1~trusty libtbb2-dbg=4.4~20151115-0ubuntu3ppa1~trusty
- cd $a
- mkdir build
- cd build
script:
- cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DBUILD_MEMSAVE=OFF -DBUILD_TEST=ON -DBUILD_DEMO=ON .. && make && ./mapmap_test
- cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DBUILD_MEMSAVE=ON -DBUILD_TEST=ON -DBUILD_DEMO=ON .. && make && ./mapmap_test