PkgTemplates.jl/test/fixtures/WackyOptions/.gitlab-ci.yml
Curtis Vogt e258aacd7a Use literal block style for multi-line YAML
Allows for Julia code to not require the use of semi-colon which is
matches how most users will write Julia code. An additional benefit
is that it allows for use of single line comments.
2020-02-14 12:09:13 -06:00

32 lines
565 B
YAML

.definitions:
script: &script
script:
- |
julia --project=@. -e '
using Pkg
Pkg.build()
Pkg.test()'
Julia 0.6:
image: julia:0.6
<<: *script
Julia 1.2:
image: julia:1.2
<<: *script
pages:
image: julia:1.2
stage: deploy
script:
- |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
include("docs/make.jl")'
- mkdir -p public
- mv docs/build public/dev
artifacts:
paths:
- public
only:
- master