-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
93 lines (82 loc) · 2.24 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
language: julia
dist: xenial
os:
- linux
- osx
# requires MacOS 10.14
osx_image: xcode11.4
julia:
- 1.4
- 1.5
- nightly
branches:
only:
- master
- /^release-.*/
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
notifications:
email: false
cache:
directories:
- $HOME/.ccache
- $HOME/.julia/registries # can we cache all of .julia?
- $HOME/.julia/artifacts
env:
- MPI_IMPL=none
- MPI_IMPL=none
JULIA_MPI_BINARY=OpenMPI_jll
JULIA_MPIEXEC_ARGS="--oversubscribe"
- MPI_IMPL=mpich
JULIA_MPI_BINARY=system
- MPI_IMPL=openmpi
JULIA_MPI_BINARY=system
JULIA_MPIEXEC_ARGS="--oversubscribe"
- MPI_IMPL=intelmpi
JULIA_MPI_BINARY=system
- MPI_IMPL=mpich
JULIA_MPI_BINARY=system
JULIA_MPI_ABI=unknown
- MPI_IMPL=openmpi
JULIA_MPI_BINARY=system
JULIA_MPI_ABI=unknown
JULIA_MPIEXEC_ARGS="--oversubscribe"
matrix:
allow_failures: # issue 262
- julia: nightly
- os: osx
env: MPI_IMPL=openmpi
exclude:
- os: osx
env: MPI_IMPL=intelmpi
before_install:
- sh ./conf/travis-install-mpi.sh $MPI_IMPL
- |
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
if [ "$MPI_IMPL" == "intelmpi" ]; then
source $HOME/intel/compilers_and_libraries/linux/mpi/intel64/bin/mpivars.sh release
elif [ "$MPI_IMPL" != "none" ]; then
export JULIA_MPI_PATH=$HOME/$MPI_IMPL
fi
elif [ "$TRAVIS_OS_NAME" == "osx" ]; then
if [ "$MPI_IMPL" != "none" ]; then
# dlopen on Julia 1.4 no longer searches /usr/local/lib on Mac
export JULIA_MPI_PATH="/usr/local"
fi
fi
# 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: "Coverage"
julia: 1.4
os: linux
after_success: # Intentionally rerun tests
- julia -e 'using Pkg; cd(Pkg.dir("Dist_Stat")); Pkg.add("Coverage")'
- julia -e 'using Coverage; Coveralls.submit(Coveralls.process_folder())'
- julia -e 'using Coverage; Codecov.submit(Codecov.process_folder())'