forked from avasyukov/gcm-3d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (31 loc) · 906 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
language: cpp
compiler:
- gcc
before_install:
- echo $LANG
- echo $LC_ALL
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo add-apt-repository ppa:boost-latest/ppa -y
- sudo apt-get update -qq
- sudo apt-get install -qq openmpi-dev libgsl0-dev libxml2-dev libvtk5-dev liblog4cxx10-dev libgtest-dev cmake make libboost1.55-all-dev g++-4.8 gnuplot
- cd /usr/src/gtest
- sudo cmake .
- sudo make
- sudo mv libg* /usr/lib/
- cd -
- wget https://dl.dropboxusercontent.com/u/19548163/mipt/gcm3d-deps/debs/build_20150418-1_amd64.deb
- sudo dpkg -i build_20150418-1_amd64.deb
- export CXX="g++-4.8"
before_script:
- ./waf configure --prefix=build/install --logging-level=info --optimize
- ./waf --jobs=4 install
script: ./waf unit-tests func-tests
after_success:
- echo 'Success!'
branches:
only:
- master
notifications:
email: false
os:
- linux