-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
58 lines (52 loc) · 1.3 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
## Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
sudo: false
dist: trusty
os:
- linux
- osx
julia:
- 1.0
- nightly
notifications:
email: false
# comment the following lines to disallow failures on nightly julia
matrix:
allow_failures:
- julia: nightly
addons:
apt:
packages:
- gfortran
- mpich
- libmpich-dev
before_script:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update
brew upgrade cmake
brew cask uninstall oclint # Prevent conflict with gcc
brew install mpich
fi
# - |
# if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
# curl -LO https://raw.githubusercontent.com/GiovanniBussi/macports-ci/master/macports-ci
# source ./macports-ci install
# sudo port -N install mpich
# fi
before_install:
- export CC=mpicc
- export FC=mpif90
after_success:
# push coverage results to Codecov
- julia -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
jobs:
include:
- stage: "Documentation"
julia: 1.0
os: linux
script:
- export DOCUMENTER_DEBUG="true"
- julia --color=yes --project=docs/ -e 'using Pkg; Pkg.instantiate()'
- julia --color=yes --project=docs/ docs/make.jl
after_success: skip