-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
48 lines (44 loc) · 1.31 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
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
sudo: required
dist: trusty
os:
- linux
- osx
julia:
- 1.1
- nightly
matrix:
allow_failures:
- julia: nightly
fast_finish: true
env:
#- MPI_IMPL=mpich
- MPI_IMPL=openmpi
before_install:
# install mpi environment
- sh ./conf/travis-install-mpi.sh $MPI_IMPL
- export PATH=$HOME/OpenMPI/bin:$HOME/MPICH/bin:$PATH
- export CC=mpicc
- export FC=mpif90
- export TMPDIR=/tmp
- export OMPI_MCA_btl=self,tcp
notifications:
email: false
after_success:
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
jobs:
include:
- stage: Documentation
julia: 1.1
script:
# for unregistered package, it must be added with `Pkg.pkg"add url"`
- julia -e 'using Pkg; Pkg.pkg"add https://github.com/kura-okubo/SeisIO.jl https://github.com/tclements/Noise.jl";'
- julia --project=docs/ -e 'using Pkg;
Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate();
Pkg.clone("https://github.com/tclements/Noise.jl");
Pkg.build("SeisXcorrelation")'
- julia -e 'using Pkg;
cd(Pkg.dir("SeisXcorrelation")); Pkg.add("Documenter"); include(joinpath("docs", "make.jl"))'
after_success: skip