-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (34 loc) · 802 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
dist: xenial
language: c
compiler:
- gcc
- clang
os:
- linux
- osx
addons:
apt:
packages:
- gfortran
- g++
# Brew update GNU Autotools so that autogen can succeed, and install
# gcc (which installs gcc + g++ + gfortran)
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update;
brew install gcc || true ; brew upgrade automake || true; brew upgrade libtool || true;
fi
install:
- ./autogen.sh
- ./configure --disable-c11-generic
- make -j4
- make distcheck
- make distclean
- ./configure
- make -j4
- make distcheck
script:
- ./examples/example_c
- ./examples/example_cxx
- ./examples/example_mpifh
- ./examples/example_usempi
- ./examples/example_usempif08