34 lines
No EOL
730 B
YAML
34 lines
No EOL
730 B
YAML
clone:
|
|
git:
|
|
image: woodpeckerci/plugin-git
|
|
settings:
|
|
partial: false
|
|
depth: 0
|
|
|
|
matrix:
|
|
JULIA_VERSION:
|
|
- "1.0"
|
|
- "1.6"
|
|
- "1"
|
|
- "rc"
|
|
|
|
steps:
|
|
test:
|
|
image: julia:${JULIA_VERSION}
|
|
pull: true
|
|
when:
|
|
event: [pull_request, push]
|
|
commands:
|
|
- julia --color=yes -e 'using Pkg; Pkg.activate(pwd()); Pkg.instantiate()'
|
|
- julia --color=yes -e 'using Pkg; Pkg.activate(pwd()); Pkg.test(;coverage=true)'
|
|
|
|
docs:
|
|
image: julia
|
|
when:
|
|
branch: master
|
|
secrets:
|
|
- project_access_token
|
|
commands:
|
|
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
|
|
- julia --project=docs/ docs/make.jl
|
|
|