diff --git a/.gitignore b/.gitignore index 61f5f393..1e725e8b 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ deps/custom_preamble.tex deps/deps.jl deps/pdf2svg.svg deps/showed_warning +/Manifest.toml diff --git a/Project.toml b/Project.toml new file mode 100644 index 00000000..2d0dbde8 --- /dev/null +++ b/Project.toml @@ -0,0 +1,24 @@ +name = "PGFPlotsX" +uuid = "8314cec4-20b6-5062-9cdb-752b83310925" + +[deps] +ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197" +Crayons = "a8cc5b0e-0ffa-5ad4-8c14-923d3ee1735f" +DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" +Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" +DefaultApplication = "3f0dd361-4fe0-5fc6-8523-80b14ec94d85" +DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" +MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09" +Missings = "e1d29d7a-bbdc-5cf2-9ac0-f12de2c33e28" +Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a" +Requires = "ae029012-a4dd-5104-9daa-d747884805df" +StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" +Unicode = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5" + +[extras] +DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" +Measurements = "eff96d63-e80a-5855-80a2-b1b0885c5ab7" +Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" + +[targets] +test = ["Test", "Measurements", "DataFrames"] diff --git a/test/REQUIRE b/test/REQUIRE deleted file mode 100644 index a2eb2f7d..00000000 --- a/test/REQUIRE +++ /dev/null @@ -1,6 +0,0 @@ -LaTeXStrings -Colors -Contour -DataFrames -StatsBase -Measurements diff --git a/test/runtests.jl b/test/runtests.jl index 841fe809..64327c46 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,11 +1,8 @@ using Test using PGFPlotsX using PGFPlotsX: Options -using Colors -using Contour using DataFrames using Dates -using LaTeXStrings using Measurements if get(ENV, "CI", false) == true diff --git a/travis_docker_env.list b/travis_docker_env.list index 6fed1146..97bd597b 100644 --- a/travis_docker_env.list +++ b/travis_docker_env.list @@ -6,5 +6,4 @@ TRAVIS_REPO_SLUG TRAVIS_TAG TRAVIS_OS_NAME TRAVIS_JULIA_VERSION -# comment this out to debug Documenter.jl -# DOCUMENTER_DEBUG=true +JULIA_PROJECT diff --git a/travis_docker_test_script.sh b/travis_docker_test_script.sh index 7a99328c..877cf85e 100755 --- a/travis_docker_test_script.sh +++ b/travis_docker_test_script.sh @@ -10,7 +10,7 @@ PKGNAME="PGFPlotsX" cd /mnt && if [[ -a .git/shallow ]]; then git fetch --unshallow; fi # run tests -$JULIABIN -e "import Pkg; Pkg.clone(\"/mnt/\", \"$PKGNAME\"); Pkg.build(\"$PKGNAME\"); Pkg.test(\"$PKGNAME\"; coverage=true)" +$JULIABIN -e "cd(\"/mnt/\"); import Pkg; Pkg.build(); Pkg.test(; coverage=true)" TEST_EXIT=$? # return with this # save coverage results back to host