diff --git a/.gitignore b/.gitignore index 98672ee6b8..403bdd0ce3 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,5 @@ docs/build/ docs/site/ docs/src/examples/generated/ *.DS_Store -Manifest.toml +/Manifest.toml +/test/coverage/Manifest.toml diff --git a/.travis.yml b/.travis.yml index 00fbd7bcf8..a8d943e926 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,5 +24,13 @@ notifications: git: depth: 99999 -after_success: - - julia -e 'Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())' +jobs: + include: + - stage: deploy + julia: 1.0 + os: linux + script: + - julia --color=yes --project=docs/ -e 'using Pkg; Pkg.instantiate()' + - julia --color=yes --project=docs/ docs/make.jl + - julia --color=yes --project=test/coverage/ -e 'using Pkg; Pkg.instantiate()' + - julia --color=yes --project=test/coverage/ test/coverage/coverage.jl diff --git a/docs/Manifest.toml b/docs/Manifest.toml new file mode 100644 index 0000000000..92fc01d4f0 --- /dev/null +++ b/docs/Manifest.toml @@ -0,0 +1,260 @@ +[[Base64]] +uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" + +[[BinDeps]] +deps = ["Compat", "Libdl", "SHA", "URIParser"] +git-tree-sha1 = "12093ca6cdd0ee547c39b1870e0c9c3f154d9ca9" +uuid = "9e28174c-4ba2-5203-b857-d8d62c4213ee" +version = "0.8.10" + +[[BinaryProvider]] +deps = ["Libdl", "Pkg", "SHA", "Test"] +git-tree-sha1 = "ffbf89cc49b073cffdb91381b7ee60557a03ec96" +uuid = "b99e7846-7c00-51b0-8f62-c81ae34c0232" +version = "0.4.1" + +[[BlockArrays]] +deps = ["Base64", "Compat", "LinearAlgebra", "SparseArrays"] +git-tree-sha1 = "caf3849f83ef395c658ea0878fac84f0cb853286" +uuid = "8e7c35d0-a365-5155-bbbb-fb81a777f24e" +version = "0.4.1" + +[[CodecZlib]] +deps = ["BinaryProvider", "Libdl", "Pkg", "Test", "TranscodingStreams"] +git-tree-sha1 = "83cb3d65c37ea1364c2d5bf7bcea41843ba645dc" +uuid = "944b1d66-785c-5afd-91f1-9de20f533193" +version = "0.5.0" + +[[CommonSubexpressions]] +deps = ["Test"] +git-tree-sha1 = "efdaf19ab11c7889334ca247ff4c9f7c322817b0" +uuid = "bbf7d656-a473-5ed7-a52c-81e309532950" +version = "0.2.0" + +[[Compat]] +deps = ["Base64", "Dates", "DelimitedFiles", "Distributed", "InteractiveUtils", "LibGit2", "Libdl", "LinearAlgebra", "Markdown", "Mmap", "Pkg", "Printf", "REPL", "Random", "Serialization", "SharedArrays", "Sockets", "SparseArrays", "Statistics", "Test", "UUIDs", "Unicode"] +git-tree-sha1 = "277d3807440d9793421354b6680911fc95d91a84" +uuid = "34da2185-b29b-5c13-b0c7-acf172513d20" +version = "1.0.1" + +[[DataStructures]] +deps = ["InteractiveUtils", "REPL", "Random", "Serialization", "Test"] +git-tree-sha1 = "6e72a9098f5774601c8c8d6a4511a68270594910" +uuid = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" +version = "0.11.0" + +[[Dates]] +deps = ["Printf"] +uuid = "ade2ca70-3891-5945-98fb-dc099432e06a" + +[[DelimitedFiles]] +deps = ["Mmap"] +uuid = "8bb1440f-4735-579b-a4ab-409b98df4dab" + +[[DiffResults]] +deps = ["Compat", "StaticArrays"] +git-tree-sha1 = "db8acf46717b13d6c48deb7a12007c7f85a70cf7" +uuid = "163ba53b-c6d8-5494-b064-1a9d43ac40c5" +version = "0.0.3" + +[[DiffRules]] +deps = ["Random", "Test"] +git-tree-sha1 = "c49ec69428ffea0c1d1bbdc63d1a70f5df5860ad" +uuid = "b552c78f-8df3-52c6-915a-8e097449b14b" +version = "0.0.7" + +[[Distributed]] +deps = ["LinearAlgebra", "Random", "Serialization", "Sockets"] +uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b" + +[[DocStringExtensions]] +deps = ["Compat"] +git-tree-sha1 = "a2ab006ff561a57eb858cee5314445b16c2fd2dd" +uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" +version = "0.4.6" + +[[Documenter]] +deps = ["Compat", "DocStringExtensions", "Logging", "REPL"] +git-tree-sha1 = "7534ff3c50333a69ae0778d4d869e6f5c9ec022a" +uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4" +version = "0.19.6" + +[[ForwardDiff]] +deps = ["CommonSubexpressions", "DiffResults", "DiffRules", "InteractiveUtils", "LinearAlgebra", "NaNMath", "Pkg", "Random", "SparseArrays", "SpecialFunctions", "StaticArrays", "Test"] +git-tree-sha1 = "0dd11038da4efce9ce457b1cf47a52eaf6251bd3" +uuid = "f6369f11-7733-5829-9624-2563aa707210" +version = "0.8.5" + +[[InteractiveUtils]] +deps = ["LinearAlgebra", "Markdown"] +uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240" + +[[JSON]] +deps = ["Dates", "Distributed", "Mmap", "Pkg", "Sockets", "Test", "Unicode"] +git-tree-sha1 = "fec8e4d433072731466d37ed0061b3ba7f70eeb9" +uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6" +version = "0.19.0" + +[[JuAFEM]] +deps = ["LinearAlgebra", "Reexport", "SparseArrays", "Tensors", "WriteVTK"] +path = ".." +uuid = "30d91d44-8115-11e8-1d28-c19a5ac16de8" +version = "0.2.0" + +[[LibGit2]] +uuid = "76f85450-5226-5b5a-8eaa-529ad045b433" + +[[Libdl]] +uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb" + +[[LightXML]] +deps = ["BinaryProvider", "Libdl", "Pkg", "Test"] +git-tree-sha1 = "aeec7a341652d47bc773475a42952fa78eccd7cc" +uuid = "9c8b4983-aa76-5018-a973-4c85ecc9e179" +version = "0.8.0" + +[[LinearAlgebra]] +deps = ["Libdl"] +uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" + +[[Literate]] +deps = ["Base64", "JSON", "Markdown", "Pkg", "REPL", "Test"] +git-tree-sha1 = "d4b0b9c56940a02ac117a316a967e087eb3c2dfb" +uuid = "98b081ad-f1c9-55d3-8b20-4c87d4299306" +version = "1.0.1" + +[[Logging]] +uuid = "56ddb016-857b-54e1-b83d-db4d58db5568" + +[[Markdown]] +deps = ["Base64"] +uuid = "d6f4376e-aef5-505a-96c1-9c027394607a" + +[[Missings]] +deps = ["Dates", "InteractiveUtils", "SparseArrays", "Test"] +git-tree-sha1 = "196528fa1df03df435025f52f9c1ff8356f94738" +uuid = "e1d29d7a-bbdc-5cf2-9ac0-f12de2c33e28" +version = "0.3.0" + +[[Mmap]] +uuid = "a63ad114-7e13-5084-954f-fe012c677804" + +[[NaNMath]] +deps = ["Compat"] +git-tree-sha1 = "ce3b85e484a5d4c71dd5316215069311135fa9f2" +uuid = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3" +version = "0.3.2" + +[[Pkg]] +deps = ["Dates", "LibGit2", "Markdown", "Printf", "REPL", "Random", "SHA", "UUIDs"] +uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" + +[[Printf]] +deps = ["Unicode"] +uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7" + +[[REPL]] +deps = ["InteractiveUtils", "Markdown", "Sockets"] +uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" + +[[Random]] +deps = ["Serialization"] +uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" + +[[Reexport]] +deps = ["Pkg"] +git-tree-sha1 = "7b1d07f411bc8ddb7977ec7f377b97b158514fe0" +uuid = "189a3867-3050-52da-a836-e630ba90ab69" +version = "0.2.0" + +[[SHA]] +uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce" + +[[SIMD]] +deps = ["Compat", "Pkg"] +git-tree-sha1 = "b500fa5f47454a6e4dfa6203003f901b31f8d388" +uuid = "fdea26ae-647d-5447-a871-4b548cad5224" +version = "1.0.0" + +[[Serialization]] +uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b" + +[[SharedArrays]] +deps = ["Distributed", "Mmap", "Random", "Serialization"] +uuid = "1a1011a3-84de-559e-8e89-a11a2f7dc383" + +[[Sockets]] +uuid = "6462fe0b-24de-5631-8697-dd941f90decc" + +[[SortingAlgorithms]] +deps = ["DataStructures", "Random", "Test"] +git-tree-sha1 = "03f5898c9959f8115e30bc7226ada7d0df554ddd" +uuid = "a2af1166-a08f-5f64-846c-94a0d3cef48c" +version = "0.3.1" + +[[SparseArrays]] +deps = ["LinearAlgebra", "Random"] +uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" + +[[SpecialFunctions]] +deps = ["BinDeps", "BinaryProvider", "Compat", "Libdl"] +git-tree-sha1 = "d12f8917be3782f4b800ba16003b8d0d4858c2e5" +uuid = "276daf66-3868-5448-9aa4-cd146d93841b" +version = "0.7.0" + +[[StaticArrays]] +deps = ["InteractiveUtils", "LinearAlgebra", "Random", "Statistics", "Test"] +git-tree-sha1 = "d432c79bef174a830304f8601427a4357dfdbfb7" +uuid = "90137ffa-7385-5640-81b9-e52037218182" +version = "0.8.3" + +[[Statistics]] +deps = ["LinearAlgebra", "SparseArrays"] +uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" + +[[StatsBase]] +deps = ["DataStructures", "LinearAlgebra", "Missings", "Printf", "Random", "SortingAlgorithms", "SparseArrays", "Statistics", "Test"] +git-tree-sha1 = "723193a13e8078cec6dcd0b8fe245c8bfd81690e" +uuid = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" +version = "0.25.0" + +[[Tensors]] +deps = ["ForwardDiff", "LinearAlgebra", "Pkg", "Random", "SIMD", "Statistics", "Test"] +git-tree-sha1 = "6acf0f93332ec1744aa53f28b57a79895a3265ee" +uuid = "48a634ad-e948-5137-8d70-aa71f2a747f4" +version = "1.0.0" + +[[Test]] +deps = ["Distributed", "InteractiveUtils", "Logging", "Random"] +uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40" + +[[TranscodingStreams]] +deps = ["DelimitedFiles", "Pkg", "Random", "Test"] +git-tree-sha1 = "a27b3a1b9c1120ef67b4647b80c61a16c09b9218" +uuid = "3bb67fe8-82b1-5028-8e26-92a6c54297fa" +version = "0.8.0" + +[[URIParser]] +deps = ["Test", "Unicode"] +git-tree-sha1 = "6ddf8244220dfda2f17539fa8c9de20d6c575b69" +uuid = "30578b45-9adc-5946-b283-645ec420af67" +version = "0.4.0" + +[[UUIDs]] +deps = ["Random"] +uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" + +[[Unicode]] +uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5" + +[[UnicodePlots]] +deps = ["Dates", "Pkg", "SparseArrays", "StatsBase", "Test"] +git-tree-sha1 = "d26d1e85fb7e9d432a7bb0cd6e421e8a82928604" +uuid = "b8865327-cd53-5732-bb35-84acbb429228" +version = "0.3.1" + +[[WriteVTK]] +deps = ["CodecZlib", "Compat", "LightXML", "SHA", "TranscodingStreams"] +git-tree-sha1 = "090693d51bf211995825a8be9431ffaec800b448" +uuid = "64499a7a-5c06-52f2-abe2-ccb03c286192" +version = "0.8.0" diff --git a/docs/Project.toml b/docs/Project.toml new file mode 100644 index 0000000000..cb3eda1a62 --- /dev/null +++ b/docs/Project.toml @@ -0,0 +1,6 @@ +[deps] +BlockArrays = "8e7c35d0-a365-5155-bbbb-fb81a777f24e" +Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" +JuAFEM = "30d91d44-8115-11e8-1d28-c19a5ac16de8" +Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306" +UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228" diff --git a/docs/make.jl b/docs/make.jl index a45ded0167..affcd9c9d9 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,3 +1,5 @@ +Base.HOME_PROJECT[] = abspath(Base.HOME_PROJECT[]) # JuliaLang/julia/pull/28625 + using Documenter, JuAFEM # Generate examples diff --git a/test/coverage/Project.toml b/test/coverage/Project.toml new file mode 100644 index 0000000000..4fbdc4772d --- /dev/null +++ b/test/coverage/Project.toml @@ -0,0 +1,2 @@ +[deps] +Coverage = "a2441757-f6aa-5fb2-8edb-039e3f45d037" diff --git a/test/coverage/coverage.jl b/test/coverage/coverage.jl new file mode 100644 index 0000000000..15ea38b003 --- /dev/null +++ b/test/coverage/coverage.jl @@ -0,0 +1,5 @@ +using Coverage + +cd(joinpath(@__DIR__, "..", "..")) do + Codecov.submit(Codecov.process_folder()) +end diff --git a/test/runtests.jl b/test/runtests.jl index 005910e198..49d96d7162 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -17,8 +17,3 @@ include("test_constraints.jl") include("test_grid_dofhandler_vtk.jl") # include("test_notebooks.jl") include("test_examples.jl") - -# Build the docs -if get(ENV, "TRAVIS_OS_NAME", "") == "linux" && get(ENV, "TRAVIS_JULIA_VERSION", "") == "1.0" - include("../docs/make.jl") -end