diff --git a/.travis.yml b/.travis.yml index 18ff844..0751371 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,20 +12,9 @@ notifications: on_failure: always # options: [always|never|change] default: always on_start: false # default: false before_script: - - julia --color=yes -e 'Pkg.clone(pwd())' - - julia --color=yes -e 'Pkg.add("Coverage")' - - julia --color=yes -e 'Pkg.add("Documenter")' - - julia --color=yes -e 'Pkg.add("Lint")' - - julia --color=yes -e 'Pkg.clone("https://github.com/ahojukka5/CheckHeader.jl.git")' - - julia --color=yes -e 'Pkg.clone("https://github.com/ahojukka5/CheckTabs.jl.git")' + - 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 'Pkg.build("JuliaFEM")' - - julia --color=yes -e 'using CheckHeader; checkheader("JuliaFEM")' - - julia --color=yes -e 'using CheckTabs; checktabs("JuliaFEM")' - - julia --color=yes -e 'Pkg.test("JuliaFEM", coverage=true)' + - julia --color=yes -e 'using PkgTestSuite; test()' after_success: - - julia --color=yes -e 'cd(Pkg.dir("JuliaFEM", "test")); include("run_lint.jl")' - - julia --color=yes -e 'cd(Pkg.dir("JuliaFEM", "docs")); include("make.jl")' - - julia --color=yes -e 'cd(Pkg.dir("JuliaFEM")); using Coverage; Coveralls.submit(Coveralls.process_folder())' - - julia --color=yes -e 'cd(Pkg.dir("JuliaFEM", "docs")); include("deploy.jl")' - + - julia --color=yes -e 'using PkgTestSuite; deploy()' \ No newline at end of file diff --git a/docs/deploy.jl b/docs/deploy.jl deleted file mode 100644 index 1f4e68d..0000000 --- a/docs/deploy.jl +++ /dev/null @@ -1,10 +0,0 @@ -# This file is a part of JuliaFEM. -# License is MIT: see https://github.com/JuliaFEM/JuliaFEM.jl/blob/master/LICENSE - -using Documenter -using JuliaFEM - -deploydocs( - deps = Deps.pip("mkdocs", "python-markdown-math"), - repo = "github.com/JuliaFEM/JuliaFEM.jl.git", - julia = "0.6") diff --git a/docs/make.jl b/docs/make.jl deleted file mode 100644 index ae01666..0000000 --- a/docs/make.jl +++ /dev/null @@ -1,10 +0,0 @@ -# This file is a part of project JuliaFEM. -# License is MIT: see https://github.com/JuliaFEM/NodeNumbering.jl/blob/master/LICENSE - -using Documenter -using JuliaFEM - -makedocs( - modules = [JuliaFEM], - checkdocs = :all, - strict = false) diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml deleted file mode 100644 index 1607352..0000000 --- a/docs/mkdocs.yml +++ /dev/null @@ -1,26 +0,0 @@ -site_name: JuliaFEM.jl -repo_url: https://github.com/JuliaFEM/JuliaFEM.jl -site_description: Finite Element Method solver -site_author: ahojukka5 - -theme: readthedocs - -extra_css: - - assets/Documenter.css - -extra_javascript: - - https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML - - assets/mathjaxhelper.js - -markdown_extensions: - - extra - - tables - - fenced_code - - footnotes - - mdx_math: - enable_dollar_delimiter: True - -docs_dir: 'build' - -pages: - - Home: index.md diff --git a/test/run_lint.jl b/test/run_lint.jl deleted file mode 100644 index 351f2af..0000000 --- a/test/run_lint.jl +++ /dev/null @@ -1,17 +0,0 @@ -# This file is a part of JuliaFEM. -# License is MIT: see https://github.com/JuliaFEM/JuliaFEM.jl/blob/master/LICENSE.md - -using Lint -using Base.Test - -results = lintpkg("JuliaFEM") -if !isempty(results) - info("Lint.jl is a tool that uses static analysis to assist in the development process by detecting common bugs and potential issues.") - info("For this package, Lint.jl report is following:") - display(results) - info("For more information, see https://lintjl.readthedocs.io/en/stable/") - warn("Package syntax test has failed.") - @test isempty(results) -else - info("Lint.jl: syntax check pass.") -end