-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
51 lines (50 loc) · 1.11 KB
/
.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
42
43
44
45
46
47
48
49
50
51
dist: trusty
sudo: required
language:
- cpp
compiler:
- gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- cmake
- libtclap-dev
- libinsighttoolkit4.5
- libinsighttoolkit4-dev
- libvtk5-dev
- libvtk5-qt4-dev
- libvtk5.8
- libvtk5.8-qt4
- tcl-vtk
- libvtk-java
- python-vtk
- python-vtkgdcm
- libncurses5
- libncurses5-dev
- libann-dev
#- libgdcm2-dev
#- libvtkgdcm2-dev
#- libgdcm-tools
#- libvtkgdcm-tools
#before_script:
# - mkdir build
# - cd build
# - cmake ../src
script:
# Link gcc-4.8 and g++-4.8 to their standard commands
- sudo ln -s /usr/bin/gcc-4.8 /usr/local/bin/gcc
- sudo ln -s /usr/bin/g++-4.8 /usr/local/bin/g++
# Export CC and CXX to tell cmake which compiler to use
- export CC=/usr/bin/gcc-4.8
- export CXX=/usr/bin/g++-4.8
# Check versions of gcc, g++ and cmake
- gcc -v && g++ -v && cmake --version
# Run your build commands next
- mkdir build
- cd build
- cmake ../src -DUSE_OMP:BOOL=ON
- make