Skip to content

Commit

Permalink
Update script to build doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
emmt committed Jul 28, 2021
1 parent 67d446b commit 8a9e364
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ julia:
- 1.3
- 1.4
- 1.5
- 1.6
- nightly

notifications:
Expand All @@ -26,12 +27,11 @@ jobs:
- julia: nightly
include:
- stage: "Documentation"
julia: 1.4
julia: 1.6
os: linux
script:
- export JULIA_LOAD_PATH='docs/:.:'
- julia -e 'using Pkg;
Pkg.instantiate();
Pkg.add("Documenter")'
- julia docs/make.jl
- julia --project=docs/ -e 'using Pkg;
Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate()'
- julia --project=docs/ docs/make.jl
after_success: skip
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"

[compat]
Documenter = "0.24"
Documenter = "0.27"

0 comments on commit 8a9e364

Please sign in to comment.