-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
51 lines (41 loc) · 1.12 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
env:
- UGROOT="/home/travis/build/NeuroBox3D/ProMeshScripts/travis_root/ug4/"
addons:
apt:
packages:
- make
- cmake-data
- cmake
git:
depth: false
language: cpp
dist: xenial
compiler:
- gcc
- clang
os:
- linux
- osx
jobs:
include:
- dist: bionic
- dist: focal
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH="/usr/local/opt/ccache/libexec:$PATH"; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export CXXFLAGS="-stdlib=libc++"; fi
before_script:
- mkdir -p travis_root && cd travis_root
- rm -rf ughub
- git clone https://www.github.com/UG4/ughub
- mkdir ug4
- cd ug4
- ../ughub/ughub init .
- ../ughub/ughub install ugcore ProMesh
- mkdir -p BUILD
- cd BUILD
- cmake ../ -DTARGET=ugshell -DLAPACK=OFF -DBLAS=OFF -DProMesh=ON -DDIM="2;3" -DCPU=1
script:
- travis_wait 45 make -j2
- curl -O "https://raw.githubusercontent.com/NeuroBox3D/ProMeshScripts/master/polygonal_mesh_from_txt.lua"
- ../bin/ugshell -ex polygonal_mesh_from_txt.lua -inputFolder ../../../data -outputFileName test.ugx
- file test.ugx