Skip to content

Commit

Permalink
Make package compatible with Julia v1.0 (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahojukka5 authored Aug 21, 2018
1 parent bfafb2d commit 5201c70
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 17 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
docs/build/
docs/site/
docs/src/index.md
*.cov
*.pyc
*.swp
14 changes: 1 addition & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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())'
2 changes: 1 addition & 1 deletion docs/deploy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 0 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

using Documenter, FEMBase

cp("../README.md", "src/index.md"; remove_destination=true)

DEVELOPER_GUIDE = [
"mesh.md",
"fields.md",
Expand Down
4 changes: 4 additions & 0 deletions docs/src/index.md
Original file line number Diff line number Diff line change
@@ -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.
1 change: 1 addition & 0 deletions test/REQUIRE
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
TimerOutputs
Documenter
4 changes: 4 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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")

0 comments on commit 5201c70

Please sign in to comment.