-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
40 lines (29 loc) · 1.08 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
language:
before_script:
- echo -e "Host *\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
sudo: required
#dist: trusty # Ubuntu 14.04.
dist : bionic # Ubuntu 18.04.
compiler:
- gcc
install: sh ./.travis/install-$TRAVIS_OS_NAME-deps.sh
addons:
apt:
packages:
- cmake
matrix:
include:
- env:
os: linux
# - env:
# os: osx
script:
- .travis/install-petsc.sh
- export PETSC_DIR=$PWD/petsc; export PETSC_ARCH=petsc-arch
- make VERBOSE=1 CC=$PETSC_DIR/$PETSC_ARCH/bin/mpicc CXX=$PETSC_DIR/$PETSC_ARCH/bin/mpicxx FC=$PETSC_DIR/$PETSC_ARCH/bin/mpif90 config
- make VERBOSE=1 CC=$PETSC_DIR/$PETSC_ARCH/bin/mpicc CXX=$PETSC_DIR/$PETSC_ARCH/bin/mpicxx FC=$PETSC_DIR/$PETSC_ARCH/bin/mpif90 all
- make VERBOSE=1 CC=$PETSC_DIR/$PETSC_ARCH/bin/mpicc CXX=$PETSC_DIR/$PETSC_ARCH/bin/mpicxx FC=$PETSC_DIR/$PETSC_ARCH/bin/mpif90 install
- make VERBOSE=1 CC=$PETSC_DIR/$PETSC_ARCH/bin/mpicc CXX=$PETSC_DIR/$PETSC_ARCH/bin/mpicxx FC=$PETSC_DIR/$PETSC_ARCH/bin/mpif90 test
- cat regression_tests/*testlog
after_success:
- bash <(curl -s https://codecov.io/bash)