forked from lanl/jali
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
79 lines (71 loc) · 1.58 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
language: c
sudo: required
dist: bionic
addons:
apt:
packages:
- libopenmpi-dev
- openmpi-bin
- libmetis-dev
- libhdf5-openmpi-dev
- libnetcdf-dev
- libexodusii-dev
- libexodusii5
- libnemesis3
- libunittest++-dev
- libtrilinos-zoltan-dev
- libboost-all-dev
env:
global:
- CCACHE_CPP2=yes
matrix:
- PARALLEL=ON
before_install:
- test -n $CC && unset CC
- test -n $CXX && unset CXX
after_failure:
- echo $TRAVIS_TEST_RESULT
- cat Testing/Temporary/LastTest.log
script:
- >
mkdir build &&
cd build &&
wget https://github.com/MeshToolkit/mstk/archive/3.3.5.tar.gz &&
tar xvzf 3.3.5.tar.gz &&
cd MSTK-3.3.5 &&
mkdir mstk-build && cd mstk-build &&
cmake
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_PREFIX_PATH=/usr/include/trilinos
-DCMAKE_INSTALL_PREFIX=$HOME/MSTK-3.3.5-install
-DENABLE_PARALLEL=$PARALLEL
-DENABLE_METIS=yes
-DENABLE_ExodusII=yes
-DENABLE_ZOLTAN=yes
-DENABLE_Tests=yes
.. &&
make VERBOSE=1 -j2 &&
make test &&
make install &&
cd ../.. &&
cmake
-DCMAKE_PREFIX_PATH="$HOME/MSTK-3.3.5-install;/usr/include/trilinos"
-DCMAKE_INSTALL_PREFIX=$HOME/Jali
-DCMAKE_BUILD_TYPE=Release
-DENABLE_MSTK=yes
-DBOOST_ROOT=/usr/include
-DENABLE_Tests=yes
.. &&
make VERBOSE=1 -j2 &&
make test &&
make install DESTDIR=$HOME
cache:
- ccache
compiler:
- gcc
- clang
notifications:
email:
on_success: never
on_failure: always