-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
26 lines (23 loc) · 1006 Bytes
/
.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
language: julia
julia:
- 1.6
codecov: true
jobs:
include:
- stage: "Autotests and Docs"
julia: 1.6
os: linux
script:
- julia --project --check-bounds=yes -e 'import Pkg; Pkg.build(); Pkg.test("SugarKelp"; coverage=true)'
# After successful build submit coverage report and deploy updated documentation
# But limit deployment to the linux worker so this is done only once.
after_success:
# Install required packages for coverage and documentation
- julia --project -e 'import Pkg; Pkg.add("Coverage");'
- julia --project -e 'import Pkg; Pkg.add("Documenter"); Pkg.add("DocumenterTools");'
# - julia --project -e 'import Pkg; Pkg.add("Plots");'
# - julia --project -e 'import Pkg; Pkg.add("LaTeXStrings")'
# Submit test coverage report
- julia --project -e 'using Coverage; Codecov.submit(Coveralls.process_folder())'
# Build and deploy documentation
- julia --project ./docs/make.jl