-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.travis.yml
63 lines (55 loc) · 1.06 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
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
env:
global:
- CCACHE_CPP2=yes
matrix:
- PARALLEL=ON
- PARALLEL=OFF
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 &&
cmake
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=$HOME
-DCMAKE_PREFIX_PATH=/usr/include/trilinos
-DENABLE_PARALLEL=$PARALLEL
-DENABLE_METIS=yes
-DENABLE_ZOLTAN=yes
-DENABLE_ExodusII=yes
-DENABLE_Tests=yes
.. &&
make VERBOSE=1 -j2 &&
make test &&
make install
cache:
- ccache
compiler:
- gcc
- clang
notifications:
email:
on_success: never
on_failure: always