-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
39 lines (36 loc) · 1.05 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
language: julia
os:
- linux
- osx
- windows
julia:
- 1.0
- 1.5
branches:
only:
- master
notifications:
email: false
git:
depth: 99999999
after_success:
# push coverage results to Coveralls Pkg.test("ReplicateBE"; coverage = true);
- julia -e 'using Pkg; cd(Pkg.dir("ReplicateBE")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# push coverage results to Codecov
- julia -e 'using Pkg; cd(Pkg.dir("ReplicateBE")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
jobs:
allow_failures:
- julia:
- 1.5
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/ docs/make.jl
after_success: skip
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- travis_wait 30 julia --project -e 'using Pkg; Pkg.build(); Pkg.test(; coverage=true)'