diff --git a/.gitignore b/.gitignore index 6b396f6..6b5cdb9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ docs/build/ docs/site/ -docs/src/index.md *.cov *.pyc *.swp diff --git a/.travis.yml b/.travis.yml index 4b5aad7..5e1d6e0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,17 +8,5 @@ julia: - 1.0 - nightly -matrix: - allow_failures: - - julia: 1.0 - - julia: nightly - -before_script: - - julia --color=yes -e 'Pkg.clone("https://github.com/JuliaFEM/PkgTestSuite.jl.git")' - - julia --color=yes -e 'using PkgTestSuite; init()' - -script: - - julia --color=yes -e 'using PkgTestSuite; test()' - after_success: - - julia --color=yes -e 'using PkgTestSuite; deploy()' + - julia -e 'cd(Pkg.dir("FEMBase")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())' diff --git a/docs/deploy.jl b/docs/deploy.jl index 5ffd439..cbf116d 100644 --- a/docs/deploy.jl +++ b/docs/deploy.jl @@ -5,7 +5,7 @@ using Documenter deploydocs( repo = "github.com/JuliaFEM/FEMBase.jl.git", - julia = "0.6", + julia = "1.0", target = "build", deps = nothing, make = nothing) diff --git a/docs/make.jl b/docs/make.jl index 6615db0..7b028f5 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -3,8 +3,6 @@ using Documenter, FEMBase -cp("../README.md", "src/index.md"; remove_destination=true) - DEVELOPER_GUIDE = [ "mesh.md", "fields.md", diff --git a/docs/src/index.md b/docs/src/index.md new file mode 100644 index 0000000..0ce90d7 --- /dev/null +++ b/docs/src/index.md @@ -0,0 +1,4 @@ +# FEMBase.jl + +FEMBase.jl is a JuliaFEM base package. It includes all basic data structures +so that one can start programming own finite element models. diff --git a/test/REQUIRE b/test/REQUIRE index 0ec8121..588bfd6 100644 --- a/test/REQUIRE +++ b/test/REQUIRE @@ -1 +1,2 @@ TimerOutputs +Documenter diff --git a/test/runtests.jl b/test/runtests.jl index 5b68fee..3af438c 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -3,6 +3,8 @@ using LinearAlgebra, Test +include("../docs/make.jl") + @testset "FEMBase.jl" begin @testset "test_assembly" begin include("test_assembly.jl") end @testset "test_elements" begin include("test_elements.jl") end @@ -15,3 +17,5 @@ using LinearAlgebra, Test @testset "test_test" begin include("test_test.jl") end @testset "test_types" begin include("test_types.jl") end end + +include("../docs/deploy.jl")