Add documenter to travis

documenter_build
Matti Pastell 2019-03-04 14:28:09 +02:00
parent efec59cdbf
commit 14623334ca
3 changed files with 22 additions and 0 deletions

View File

@ -14,3 +14,13 @@ script:
- xvfb-run julia -e 'using Pkg; Pkg.test("Weave", coverage=true)'
after_success:
- julia -e 'using Pkg; cd(Pkg.dir("Weave")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
jobs:
include:
- stage: "Documentation"
julia: 1.0
os: linux
script:
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate()'
- julia --project=docs/ docs/make.jl
after_success: skip

7
doc/Project.toml Normal file
View File

@ -0,0 +1,7 @@
[deps]
DSP = "717857b8-e6f2-59f4-9121-6e50c889abd2"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
[compat]
Documenter = "~0.20"

View File

@ -6,3 +6,8 @@ makedocs( modules = Weave, sitename="Weave.jl",
"function_index.md"]
)
include("make_examples.jl")
deploydocs(
repo = "github.com/mpastell/Weave.jl.git",
target = "build"
)