Skip to content

Commit

Permalink
Check Julia version before adding Documenter
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-dG committed Nov 14, 2018
1 parent b206d76 commit 2655710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defaults/travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}

0 comments on commit 2655710

Please sign in to comment.