-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
73 lines (65 loc) · 3.17 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
#the original source of this file can be found in tools repository change it ther
# changes in tools|csg tiggered a full rebuild
# changes in csgapps|csg-manual|csg-tutorials only trigger tools+csg+ifself
language: cpp
before_install:
- sudo apt-get update
- sudo apt-get install cmake libfftw3-dev libgsl0-dev txt2tags libboost-program-options-dev libboost-filesystem-dev libboost-system-dev libexpat1-dev libsqlite3-dev pkg-config mercurial
- if [[ $MAN ]]; then sudo apt-get install pgf texlive-fonts-recommended texlive-latex-extra doxygen graphviz; fi
- if [[ $TEST = *cma* ]]; then sudo apt-get install python-numpy gnuplot-nox; fi
- if [[ $TEST = *imc ]]; then sudo apt-get install octave; fi
- if [[ $TEST = *simplex* ]]; then sudo apt-get install gnuplot-nox; fi
- if [[ $TEST = *realtime ]]; then sudo apt-get install gnuplot-nox; fi
- if [[ $GROMACS != yes ]]; then sudo apt-get install gromacs-dev; fi
env: #NINJA=1 is currently not support by Travis' cmake, enable when >=2.8.9
- WERROR=yes J=4 #J>4 triggers an internal compiler in travis' g++
- J=1
- BDIR=build J=4
- BDIR=build J=1
- MAN=yes J=4
- MINIMAL=yes J=4
- CSG_MDRUN_STEPS=500 TEST=hexane/ibi_bonded J=4
- CSG_MDRUN_STEPS=500 TEST=hexane/ibi J=4
- CSG_MDRUN_STEPS=500 TEST=methanol/ibi J=4
- CSG_MDRUN_STEPS=10000 TEST=methanol/imc J=4
- CSG_MDRUN_STEPS=5000 TEST=methanol-water/X_0.938/re J=4
- CSG_MDRUN_STEPS=500 TEST=methanol-water/X_0.938/simplex J=4
- CSG_MDRUN_STEPS=5000 TEST=methanol-water/X_0.062/re J=4
- CSG_MDRUN_STEPS=500 TEST=methanol-water/X_0.062/simplex J=4
- CSG_MDRUN_STEPS=5000 TEST=methanol-water/X_0.5/re J=4
- CSG_MDRUN_STEPS=500 TEST=methanol-water/X_0.5/simplex J=4
- CSG_MDRUN_STEPS=500 TEST=propane/ibi J=4
- CSG_MDRUN_STEPS=10000 TEST=propane/imc J=4
- CSG_MDRUN_STEPS=500 TEST=spce/cma/density J=4
- CSG_MDRUN_STEPS=500 TEST=spce/cma/simple J=4 GROMACS=yes
- CSG_MDRUN_STEPS=500 TEST=spce/ibi J=4
- CSG_MDRUN_STEPS=500 TEST=spce/ibi_pressure J=4
- CSG_MDRUN_STEPS=10000 TEST=spce/imc J=4
- CSG_MDRUN_STEPS=10000 TEST=spce/realtime J=4
- CSG_MDRUN_STEPS=5000 TEST=spce/re J=4
- CSG_MDRUN_STEPS=500 TEST=spce/simplex/density J=4
- CSG_MDRUN_STEPS=500 TEST=spce/simplex/pressure J=4
- CSG_MDRUN_STEPS=500 TEST=spce/simplex/simple J=4
- CSG_MDRUN_STEPS=500 TEST=spce/tf J=4 GROMACS=yes
- CSG_MDRUN_STEPS=500 TEST=urea-water/ibi J=4
matrix:
exclude:
- compiler: clang
env: J=1 #this test just tests the buildsystem
- compiler: clang
env: BDIR=build J=1 #just tests the buildsystem
before_script:
- rm -vrf * .git
- wget https://raw.githubusercontent.com/votca/buildutil/master/build.sh && chmod 755 build.sh
- if [[ $TEST = *cma* ]]; then wget http://www.lri.fr/~hansen/cma.py; fi #we set PYTHONPATH="$PWD" below
script:
- PYTHONPATH="$PWD" ./build.sh -Wdu --prefix $PWD ${MAN:+--devdoc}
${TEST:+--runtest=$TEST} ${WERROR:+--warn-to-errors} ${MINIMAL:+--minimal}
${J:+-j$J} ${BDIR:+--builddir=$BDIR} ${NINJA:+--ninja}
tools ${GROMACS:+gromacs} csg csgapps ${MAN:+csg-manual} ${TEST:+csg-tutorials}
compiler:
- clang
- gcc
notifications:
email:
- junghans@votca.org #https://github.com/travis-ci/travis-ci/issues/2513