forked from CGNS/CGNS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (36 loc) · 997 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
43
osx_image: xcode8.1
dist: xenial
language: C
sudo: required
#dist: trusty
# whitelist
branches:
only:
- develop
notifications:
email: false
before_install:
- |
if [ "$(uname)" = "Linux" ]; then
sudo apt-get update -qq;
sudo apt-get install -qq gfortran;
sudo apt-get install -qq libmpich-dev;
sudo apt-get install -qq mpich;
fi
- test $(uname) = "Darwin" && brew update || true
- test $(uname) = "Darwin" && brew tap homebrew/versions || true
- test $(uname) = "Darwin" && brew install gcc@6 || true
- test $(uname) = "Darwin" && brew link --overwrite gcc@6 || true
matrix:
include:
- os: linux
compiler: gcc
install: export CC="mpicc" export FC="mpif90" export F77="mpif90"
- os: osx
compiler: gcc
install: export CC="gcc" export FC="gfortran-6" export F77="gfortran-6"
before_script:
- ./bin/install-hdf.sh
- ./bin/config-cgns.sh
script:
- ./bin/build-cgns.sh