-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
33 lines (32 loc) · 1.11 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
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
# - osx # testing on linux should be cover testing on osx for this package
- windows
julia:
- 1
- 1.3
branches:
only:
- main
- /^release-.*$/
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
notifications:
email: false
# script:
# - julia --color=yes -e 'using Pkg; Pkg.build()'
# - julia --check-bounds=yes --color=yes -e 'using Pkg; Pkg.test(coverage=true)'
after_success:
# push coverage results to Coveralls
- julia -e 'using Pkg; cd(Pkg.dir("RiskAdjustedLinearizations")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# push coverage results to Codecov
# - julia -e 'using Pkg; cd(Pkg.dir("RiskAdjustedLinearizations")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
jobs:
include:
- stage: "Documentation"
script:
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate()'
- julia --project=docs/ docs/make.jl
after_success: skip