forked from SCIInstitute/Seg3D
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (27 loc) · 885 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
language: c++
sudo: required
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
#- g++-4.8
- libqt4-dev
before_script:
- sudo apt-get install gcc-4.8
- sudo apt-get install g++-4.8
#- sudo update-alternatives --remove-all gcc
#- sudo update-alternatives --remove-all g++
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20
- sudo update-alternatives --config gcc
- sudo update-alternatives --config g++
- export CXX="g++-4.8" CC="gcc-4.8"
- wget http://www.sci.utah.edu/devbuilds/seg3d/travis-ci/cmake-2.8_ubuntu_12.tgz -O /tmp/cmake-2.8_ubuntu_12.tgz
- tar -xf /tmp/cmake-2.8_ubuntu_12.tgz
- export PATH=$PWD/cmake-2.8/bin:$PATH
script:
- cd bin
- cmake -DBUILD_MOSAIC_TOOLS:BOOL=OFF ../Superbuild
#- make -j2
- make