PkgTemplates.jl/defaults/travis.yml
Kevin Squire 5fcc780361 Merge matrix: and jobs: sections in .travis.yml
* These are aliases in travis, and defining them twice causes one to
  overwrite the other.  In this case, `matrix` was overwriting `jobs`,
  which caused `Documentation` not to run.
2020-02-12 09:27:57 -08:00

35 lines
821 B
YAML

# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx
julia:
- {{VERSION}}
- nightly
notifications:
email: false
{{#COVERAGE}}
after_success:
{{#CODECOV}}
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
{{/CODECOV}}
{{#COVERALLS}}
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder())'
{{/COVERALLS}}
{{/COVERAGE}}
jobs:
allow_failures:
- julia: nightly
fast_finish: true
{{#DOCUMENTER}}
include:
- 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
{{/DOCUMENTER}}