-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
59 lines (49 loc) · 1.5 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
sudo: false
addons:
apt:
packages:
- make
- cmake-data
- cmake
homebrew:
packages:
- ccache
git:
depth: false
language: cpp
compiler:
- gcc
- clang
os:
- linux
- osx
before_script:
- gem install travis
- mkdir -p travis_root
- cd travis_root
- rm -rf ughub
- git clone https://www.github.com/UG4/ughub
- mkdir ug4
- cd ug4
- pwd
- ../ughub/ughub init .
- ../ughub/ughub install ugcore
- ../ughub/ughub add
- ../ughub/ughub addsource neurobox https://github.com/NeuroBox3D/neurobox-packages
- ../ughub/ughub install neuro_collection
- mkdir build
- cd build
- cmake ../ -DDIM=3 -DCPU=1 -DLAPACK=OFF -DBLAS=OFF -DENABLE_ALL_PLUGINS=ON -DPARALLEL=OFF -DNCTestsuite=ON
- travis_wait 45 make -j2
script:
- curl -LO https://raw.github.com/stephanmg/travis-dependent-builds/master/trigger.sh
- chmod +x trigger.sh
- ./trigger.sh stephanmg vr-grids development $TRAVIS_ACCESS_TOKEN ""
- ./trigger.sh stephanmg Branch-Generator master $TRAVIS_ACCESS_TOKEN ""
- ./trigger.sh stephanmg non-vr-grids master $TRAVIS_ACCESS_TOKEN ""
- ./trigger.sh NeuroBox3D ProMeshScripts master $TRAVIS_ACCESS_TOKEN ""
after_script:
- echo "Triggered downstream projects: stephanmg/vr-grids, stephanmg/non-vr-grids and stephanmg/BranchGenerator."
- ln -s ${TRAVIS_BUILD_DIR}/data/test.swc test.swc
- ln -s ${TRAVIS_BUILD_DIR}/data/test_1d.ugx test_1d.ugx
- ${TRAVIS_BUILD_DIR}/travis_root/ug4/bin/NCTestsuite