Skip to content

Commit d894b73

Browse files
authored
Merge pull request #99 from JuliaAlgebra/docs
Add docs as a seperate build step on travis
2 parents d349fc6 + dad228b commit d894b73

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.travis.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,16 @@ matrix:
1414
notifications:
1515
email: false
1616

17+
jobs:
18+
include:
19+
- stage: "Documentation"
20+
julia: 1.0
21+
os: linux
22+
script:
23+
- julia --project=docs/ -e 'using Pkg; Pkg.instantiate(); Pkg.add(PackageSpec(path=pwd()))'
24+
- julia --project=docs/ docs/make.jl
25+
after_success: skip
26+
1727
after_success:
1828
# push coverage results to Coveralls
1929
- julia -e 'using Pkg; Pkg.add("Coverage"); import MultivariatePolynomials; cd(joinpath(dirname(pathof(MultivariatePolynomials)), "..")); using Coverage; Coveralls.submit(Coveralls.process_folder()); Codecov.submit(Codecov.process_folder())'
20-
# push coverage results to Codecov
21-
- julia -e 'using Pkg; Pkg.add("Documenter")'
22-
- julia -e 'import MultivariatePolynomials; cd(joinpath(dirname(pathof(MultivariatePolynomials)), "..")); include(joinpath("docs", "make.jl"))'

docs/Project.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[deps]
2+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3+
MultivariatePolynomials = "102ac46a-7ee4-5c85-9060-abc95bfdeaa3"
4+
5+
[compat]
6+
Documenter = "^0.19.6"

0 commit comments

Comments
 (0)