Revision b6ae6a206b71ca56ed9192ecd7be7f5fbdd5e064 authored by Davide Lasagna on 07 May 2019, 19:35:01 UTC, committed by Davide Lasagna on 07 May 2019, 19:35:01 UTC
1 parent c8eed7d
.travis.yml
language: julia
sudo: required
dist: trusty
os:
- linux
- osx
julia:
- 1.0
- 1.1
- nightly
branches:
only:
- master
- /^release-.*/
notifications:
email: false
cache:
directories:
- $HOME/.ccache
- $HOME/.julia/registries # can we cache all of .julia?
env:
- MPI_IMPL=mpich
- MPI_IMPL=openmpi
before_install:
- sh ./conf/travis-install-mpi.sh $MPI_IMPL
- export PATH=$HOME/OpenMPI/bin:$HOME/MPICH/bin:$PATH
- export CC=mpicc
- export FC=mpif90
# Work around OpenMPI attempting to create overly long temporary
# file names - and erroring as a result
- export TMPDIR=/tmp
# Work around MacOS/OpenMPI issue:
# https://github.com/open-mpi/ompi/issues/6518
# https://github.com/open-mpi/ompi/issues/5798
- export OMPI_MCA_btl=self,tcp
jobs:
include:
- stage: "Tests" # implicit first stage
- stage: "Documentation"
julia: 1.0
os: linux
script:
- export DOCUMENTER_DEBUG="true"
- julia --color=yes --project=docs/ -e 'using Pkg;
Pkg.instantiate();
Pkg.develop(PackageSpec(path=pwd()));
Pkg.build()'
- julia --color=yes --project=docs/ docs/make.jl
- stage: "Coverage"
julia: 1.0
os: linux
after_success: # Intentionally rerun tests
- julia -e 'using Pkg; cd(Pkg.dir("MPI")); Pkg.add("Coverage")'
- julia -e 'using Coverage; Coveralls.submit(Coveralls.process_folder())'
- julia -e 'using Coverage; Codecov.submit(Codecov.process_folder())'
Computing file changes ...