Documentation deployment fix (#230)

Similar work done in FEMQuad.jl and FEMBase.jl
This commit is contained in:
Jukka Aho
2019-04-08 21:35:13 +03:00
committed by GitHub
parent 3be87e02bf
commit e462fa2862
4 changed files with 15 additions and 8 deletions
+11
View File
@@ -17,5 +17,16 @@ matrix:
allow_failures: allow_failures:
- julia: nightly - julia: nightly
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/ -e 'import Pkg; Pkg.add("Documenter"); include("docs/make.jl")'
after_success: skip
after_success: after_success:
- julia -e 'cd(Pkg.dir("JuliaFEM")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())' - julia -e 'cd(Pkg.dir("JuliaFEM")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
-1
View File
@@ -5,7 +5,6 @@ using Documenter
deploydocs( deploydocs(
repo = "github.com/JuliaFEM/JuliaFEM.jl.git", repo = "github.com/JuliaFEM/JuliaFEM.jl.git",
julia = "1.0",
target = "build", target = "build",
deps = nothing, deps = nothing,
make = nothing) make = nothing)
+4 -3
View File
@@ -254,8 +254,9 @@ PAGES = [
@info("Pages in documentation", PAGES) @info("Pages in documentation", PAGES)
makedocs(modules=[JuliaFEM], makedocs(modules=[JuliaFEM],
format = Documenter.HTML(), format = Documenter.HTML(analytics="UA-83590644-1"),
checkdocs = :all, checkdocs = :all,
sitename = "JuliaFEM", sitename = "JuliaFEM.jl",
analytics = "UA-83590644-1",
pages = PAGES) pages = PAGES)
include("deploy.jl")
-4
View File
@@ -3,8 +3,6 @@
using JuliaFEM, Test using JuliaFEM, Test
include("../docs/make.jl")
@testset "JuliaFEM.jl" begin @testset "JuliaFEM.jl" begin
@testset "test_dirichlet.jl" begin @testset "test_dirichlet.jl" begin
include("test_dirichlet.jl") include("test_dirichlet.jl")
@@ -163,5 +161,3 @@ include("../docs/make.jl")
include("test_von_mises_material.jl") include("test_von_mises_material.jl")
end end
end end
include("../docs/deploy.jl")