forked from MRtrix3/mrtrix3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (32 loc) · 834 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
sudo: false
language: cpp
os:
- linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- zlib1g-dev
- libgsl0-dev
- libqt4-opengl-dev
- g++-4.8
- python3
compiler:
- clang
env:
- python_version=2
- python_version=3
install:
- export NUMBER_OF_PROCESSORS=4
- export PATH=`pwd`/release/bin:`pwd`/scripts:${PATH}
- export EIGEN_CFLAGS=-I`pwd`/eigen
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
- (hg clone https://bitbucket.org/eigen/eigen/; cd eigen; hg update 3.2)
script:
- if [ ${python_version} = "3" ]; then python3 ./configure -assert && python3 ./build -nowarnings && ./run_tests; else ./configure -assert && ./build -nowarnings && ./run_tests; fi
after_failure:
- cat configure.log
- cat build.log
- cat testing.log
- sleep 10