-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.travis.yml
44 lines (44 loc) · 1.16 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
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
julia:
- 1.0
- 1.1
- 1.2
- nightly
os:
- osx
- linux
- windows
matrix:
exclude:
- os: windows
julia: 1.0
- os: windows
julia: 1.1
- os: windows
julia: nightly
allow_failures:
- julia: nightly
- os: windows
fast_finish: true
notifications:
email: false
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- |
julia --project -e '
# python 3.7 does not seem to work correctly, so lets try manually setting the root python version to 3.6
ENV["PYTHON"] = ""
using Pkg; Pkg.add("Conda"); using Conda; Conda.add("python=3.6");
Pkg.build(); Pkg.build("PyCall"); Pkg.test(coverage=true)'
after_success:
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
jobs:
include:
- stage: "Documentation"
julia: 1.0
os: linux
script:
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- julia --project=docs/ -e 'using Pkg; Pkg.add("Documenter")' docs/make.jl
after_success: skip