forked from opengm/opengm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
123 lines (91 loc) · 4.18 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
language: cpp
#sudo: false
cache:
directories:
- $HOME/.cache/pip
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- boost-latest
- deadsnakes
packages:
- g++-4.8
- g++-4.8-multilib
- g++-multilib
- libhdf5-serial-dev
#- python3.5
#- python3.5-dev
#- python3.5-venv
#- python3.5-dev:i386
- libboost-thread1.55-dev
- libboost-system1.55-dev
- libboost-date-time1.55-dev
- libboost-chrono1.55-dev
- libboost-python1.55-dev
- python-numpy
- python-pip
- python-nose
before_install:
- if [ `uname` = "Darwin" ]; then
brew update >/dev/null;
brew install homebrew/science/hdf5;
fi
matrix:
include:
- os: linux
compiler: gcc-4.8
script:
- cmake . -DWITH_BOOST=TRUE -DWITH_HDF5=TRUE -DWITH_AD3=FALSE -DWITH_TRWS=FALSE -DWITH_QPBO=FALSE -DWITH_MRF=FALSE -DWITH_GCO=FALSE -DWITH_CONICBUNDLE=FALSE -DWITH_MAXFLOW=FALSE -DWITH_MAXFLOW_IBFS=FALSE -DBUILD_PYTHON_WRAPPER=TRUE -DBUILD_COMMANDLINE=FALSE -DCI=TRUE
#- make externalLibs -j4
- cmake . -DWITH_BOOST=TRUE -DWITH_HDF5=TRUE -DWITH_AD3=FALSE -DWITH_TRWS=FALSE -DWITH_QPBO=FALSE -DWITH_MRF=FALSE -DWITH_GCO=FALSE -DWITH_CONICBUNDLE=FALSE -DWITH_MAXFLOW=FALSE -DWITH_MAXFLOW_IBFS=FALSE -DBUILD_PYTHON_WRAPPER=TRUE -DBUILD_COMMANDLINE=FALSE -DCI=TRUE
- make -j4
- make test ARGS="-V"
- make test-python-wrapper
- sudo make install
#
- os: osx
compiler: clang
script:
- cmake . -DWITH_BOOST=TRUE -DWITH_HDF5=TRUE -DWITH_AD3=FALSE -DWITH_TRWS=FALSE -DWITH_QPBO=FALSE -DWITH_MRF=FALSE -DWITH_GCO=FALSE -DWITH_CONICBUNDLE=FALSE -DWITH_MAXFLOW=FALSE -DWITH_MAXFLOW_IBFS=FALSE -DBUILD_PYTHON_WRAPPER=FALSE -DBUILD_COMMANDLINE=FALSE -DCI=TRUE
#- make externalLibs -j4
- cmake . -DWITH_BOOST=TRUE -DWITH_HDF5=TRUE -DWITH_AD3=FALSE -DWITH_TRWS=FALSE -DWITH_QPBO=FALSE -DWITH_MRF=FALSE -DWITH_GCO=FALSE -DWITH_CONICBUNDLE=FALSE -DWITH_MAXFLOW=FALSE -DWITH_MAXFLOW_IBFS=FALSE -DBUILD_PYTHON_WRAPPER=FALSE -DBUILD_COMMANDLINE=FALSE -DCI=TRUE
- make -j4
- make test ARGS="-V"
#- make test-python-wrapper
- sudo make install
#################################
## OLD TRAVIS
#################################
# compiler:
# - gcc
# - clang
# before_install :
# - sudo add-apt-repository https://launchpad.net/~gnode/+archive/pandora
# - sudo apt-get update -qq
# - sudo apt-get install -qq libhdf5-dev
# - sudo apt-get install python-numpy
# - sudo apt-get install python-pip
# - sudo add-apt-repository ppa:ukplc-team/testing -y
# - sudo apt-get update -qq
# - sudo apt-get install -qq python-nose libboost1.49-dev libboost-python1.49-dev
# #- wget http://sourceforge.net/projects/boost/files/boost/1.54.0/boost_1_54_0.tar.bz2
# #- tar --bzip2 -xf boost_1_54_0.tar.bz2
# #- cd boost_1_54_0
# #- ./bootstrap.sh --help
# #- sudo ./bootstrap.sh --with-libraries=python
# #- sudo ./b2 install
# #- cd ..
# # Change this to your needs..
# script:
# #- cmake . -DWITH_BOOST=FALSE -DWITH_HDF5=FALSE -DWITH_AD3=FALSE -DWITH_TRWS=FALSE -DWITH_QPBO=FALSE -DWITH_MRF=FALSE -DWITH_GCO=FALSE -DWITH_CONICBUNDLE=FALSE -DWITH_MAXFLOW=FALSE -DWITH_MAXFLOW_IBFS=FALSE -DBUILD_PYTHON_WRAPPER=FALSE -DBUILD_COMMANDLINE=FALSE
# #- make -j6
# #- make test ARGS="-V"
# - cmake . -DWITH_BOOST=TRUE -DWITH_HDF5=TRUE -DWITH_AD3=FALSE -DWITH_TRWS=FALSE -DWITH_QPBO=FALSE -DWITH_MRF=FALSE -DWITH_GCO=FALSE -DWITH_CONICBUNDLE=FALSE -DWITH_MAXFLOW=FALSE -DWITH_MAXFLOW_IBFS=FALSE -DBUILD_PYTHON_WRAPPER=TRUE -DBUILD_COMMANDLINE=FALSE -DCI=TRUE
# #- make externalLibs -j4
# - cmake . -DWITH_BOOST=TRUE -DWITH_HDF5=TRUE -DWITH_AD3=FALSE -DWITH_TRWS=FALSE -DWITH_QPBO=FALSE -DWITH_MRF=FALSE -DWITH_GCO=FALSE -DWITH_CONICBUNDLE=FALSE -DWITH_MAXFLOW=FALSE -DWITH_MAXFLOW_IBFS=FALSE -DBUILD_PYTHON_WRAPPER=TRUE -DBUILD_COMMANDLINE=FALSE -DCI=TRUE
# - make -j4
# - make test ARGS="-V"
# - make test-python-wrapper
# - sudo make install
# #- python src/interfaces/python/examples/markov_chain.py