PkgTemplates.jl/templates/travis.yml
Chris de Graaf 3b9714c8a8
Move around the template files, update the licenses
Hopefully the licenses are detected better by Licensee.
Also they can be templated now which is nice.
2019-09-26 00:32:05 +07:00

56 lines
1.1 KiB
YAML

# Documentation: http://docs.travis-ci.com/user/languages/julia
language: julia
notifications:
email: false
julia:
{{#VERSIONS}}
- {{{.}}}
{{/VERSIONS}}
os:
{{#OS}}
- {{{.}}}
{{/OS}}
jobs:
fast_finish: true
{{#HAS_ALLOW_FAILURES}}
allow_failures:
{{/HAS_ALLOW_FAILURES}}
{{#ALLOW_FAILURES}}
- julia: {{{.}}}
{{/ALLOW_FAILURES}}
{{#HAS_JOBS}}
include:
{{/HAS_JOBS}}
{{#X86}}
- julia: {{{JULIA}}}
os: {{{OS}}}
arch: x86
{{/X86}}
{{#HAS_DOCUMENTER}}
- stage: Documentation
julia: {{{VERSION}}}
script: julia --project=docs -e '
using Pkg;
Pkg.develop(PackageSpec(; path=pwd()));
Pkg.instantiate();
include("docs/make.jl");'
after_success: skip
{{/HAS_DOCUMENTER}}
{{#HAS_COVERAGE}}
after_success:
{{#HAS_CODECOV}}
- julia -e '
using Pkg;
Pkg.add("Coverage");
using Coverage;
Codecov.submit(process_folder());'
{{/HAS_CODECOV}}
{{#HAS_COVERALLS}}
- julia -e '
using Pkg;
Pkg.add("Coverage");
using Coverage;
Coveralls.submit(process_folder());'
{{/HAS_COVERALLS}}
{{/HAS_COVERAGE}}