From b206d76f1214adf0884da8c0bdd99ef237884aed Mon Sep 17 00:00:00 2001 From: Chris de Graaf Date: Mon, 12 Nov 2018 13:52:37 -0600 Subject: [PATCH 1/2] Pin Documenter to v0.19 --- defaults/travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/travis.yml b/defaults/travis.yml index 62767c74..816cc62d 100644 --- a/defaults/travis.yml +++ b/defaults/travis.yml @@ -21,6 +21,6 @@ after_success: - julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder())' {{/COVERALLS}} {{#DOCUMENTER}} - - julia -e 'using Pkg; Pkg.add("Documenter"); include(joinpath("docs", "make.jl"))' + - julia -e 'using Pkg; ps=Pkg.PackageSpec(name="Documenter", version="0.19"); Pkg.add(ps); Pkg.pin(ps); include(joinpath("docs", "make.jl"))' {{/DOCUMENTER}} {{/AFTER}} From 26557108b6729a9cf1643ac132068559a9898244 Mon Sep 17 00:00:00 2001 From: Chris de Graaf Date: Wed, 14 Nov 2018 12:17:42 -0600 Subject: [PATCH 2/2] Check Julia version before adding Documenter --- defaults/travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/travis.yml b/defaults/travis.yml index 816cc62d..5d7a6ded 100644 --- a/defaults/travis.yml +++ b/defaults/travis.yml @@ -21,6 +21,6 @@ after_success: - julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder())' {{/COVERALLS}} {{#DOCUMENTER}} - - julia -e 'using Pkg; ps=Pkg.PackageSpec(name="Documenter", version="0.19"); Pkg.add(ps); Pkg.pin(ps); include(joinpath("docs", "make.jl"))' + - julia -e 'if VERSION >= v"0.7.0"; using Pkg; ps=Pkg.PackageSpec(name="Documenter", version="0.19"); Pkg.add(ps); Pkg.pin(ps); else; Pkg.add("Documenter"); end; include(joinpath("docs", "make.jl"))' {{/DOCUMENTER}} {{/AFTER}}