Cap Documenter.jl to 0.19 on Travis

Documenter 0.20 will introduce breaking changes that will invalidate
existing make.jl setups. This commit makes sure that automatic Travis
builds will not use 0.20 automatically, in order to avoid sudden
documentation deployment failures once Documenter 0.20 gets tagged.

This commit has been generated by a script.
This commit is contained in:
Morten Piibeleht 2018-10-17 16:38:35 +13:00
parent ab0763fd41
commit 85d56ad8e9
1 changed files with 1 additions and 1 deletions

View File

@ -15,5 +15,5 @@ matrix:
allow_failures: allow_failures:
- julia: nightly - julia: nightly
after_success: after_success:
- julia -e 'using Pkg; Pkg.add("Documenter"); Pkg.add("NNlib")' - julia -e 'using Pkg; ps=Pkg.PackageSpec(name="Documenter", version="0.19"); Pkg.add(ps); Pkg.pin(ps); Pkg.add("NNlib")'
- julia -e 'using Pkg; cd(Pkg.dir("Flux")); include(joinpath("docs", "make.jl"))' - julia -e 'using Pkg; cd(Pkg.dir("Flux")); include(joinpath("docs", "make.jl"))'