You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Cowsay.jl/.woodpecker.yml

34 lines
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