forked from LBL-EESA/alquimia-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (32 loc) · 875 Bytes
/
.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
# This configuration file is used by Travis CI to build/test TECA.
language: c
os:
- linux
# - osx
sudo: required
dist: bionic # Ubuntu 18.04.
# Build/test only on the master branch.
branches:
only:
- master
- stable
compiler:
- gcc
install: travis_wait 60 ./.travis/install-$TRAVIS_OS_NAME-deps.sh
env:
global:
- ALQUIMIA_DIR=$PWD
- THIRD_PARTY_LIB_DIR=$HOME
- CRUNCHTOPE_DIR=$THIRD_PARTY_LIB_DIR/crunchtope-dev
- PETSC_DIR=$THIRD_PARTY_LIB_DIR/petsc
- PFLOTRAN_DIR=$THIRD_PARTY_LIB_DIR/pflotran
jobs:
- BUILD_TYPE=Debug PETSC_ARCH=petsc_debug DEBUG=1
- BUILD_TYPE=Release PETSC_ARCH=petsc_opt DEBUG=0
script:
- ./.travis/install-petsc.sh
- ./.travis/install-crunchtope.sh
- ./.travis/install-pflotran.sh
- ./.travis/install-alquimia.sh
after_failure:
- cat $ALQUIMIA_DIR/build/Testing/Temporary/LastTest.log