Fix a Winows test bug, delete some CI jobs
This commit is contained in:
parent
99bc709ef3
commit
e4f97431b5
19
.travis.yml
19
.travis.yml
@ -7,7 +7,6 @@ os:
|
||||
- windows
|
||||
julia:
|
||||
- 1.0
|
||||
- 1.1
|
||||
- 1.2
|
||||
- 1.3
|
||||
- nightly
|
||||
@ -26,24 +25,6 @@ matrix:
|
||||
- os: windows
|
||||
arch: x86
|
||||
julia: 1.0
|
||||
- os: linux
|
||||
arch: x86
|
||||
julia: 1.1
|
||||
- os: windows
|
||||
arch: x86
|
||||
julia: 1.1
|
||||
- os: linux
|
||||
arch: x86
|
||||
julia: 1.2
|
||||
- os: windows
|
||||
arch: x86
|
||||
julia: 1.2
|
||||
- os: linux
|
||||
arch: x86
|
||||
julia: nightly
|
||||
- os: windows
|
||||
arch: x86
|
||||
julia: nightly
|
||||
- stage: Documentation
|
||||
julia: 1.0
|
||||
script: julia --project=docs -e '
|
||||
|
@ -19,9 +19,9 @@ version = "0.8.0"
|
||||
|
||||
[[Documenter]]
|
||||
deps = ["Base64", "DocStringExtensions", "InteractiveUtils", "JSON", "LibGit2", "Logging", "Markdown", "REPL", "Test", "Unicode"]
|
||||
git-tree-sha1 = "c61d6eedbc3c4323c08b64af12d29c8ee0fcbb5f"
|
||||
git-tree-sha1 = "1b6ae3796f60311e39cd1770566140d2c056e87f"
|
||||
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
|
||||
version = "0.23.2"
|
||||
version = "0.23.3"
|
||||
|
||||
[[InteractiveUtils]]
|
||||
deps = ["Markdown"]
|
||||
@ -48,9 +48,9 @@ uuid = "a63ad114-7e13-5084-954f-fe012c677804"
|
||||
|
||||
[[Parsers]]
|
||||
deps = ["Dates", "Test"]
|
||||
git-tree-sha1 = "db2b35dedab3c0e46dc15996d170af07a5ab91c9"
|
||||
git-tree-sha1 = "ef0af6c8601db18c282d092ccbd2f01f3f0cd70b"
|
||||
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
|
||||
version = "0.3.6"
|
||||
version = "0.3.7"
|
||||
|
||||
[[Pkg]]
|
||||
deps = ["Dates", "LibGit2", "Markdown", "Printf", "REPL", "Random", "SHA", "UUIDs"]
|
||||
|
@ -48,9 +48,9 @@ uuid = "a63ad114-7e13-5084-954f-fe012c677804"
|
||||
|
||||
[[Parsers]]
|
||||
deps = ["Dates", "Test"]
|
||||
git-tree-sha1 = "db2b35dedab3c0e46dc15996d170af07a5ab91c9"
|
||||
git-tree-sha1 = "ef0af6c8601db18c282d092ccbd2f01f3f0cd70b"
|
||||
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
|
||||
version = "0.3.6"
|
||||
version = "0.3.7"
|
||||
|
||||
[[Pkg]]
|
||||
deps = ["Dates", "LibGit2", "Markdown", "Printf", "REPL", "Random", "SHA", "UUIDs"]
|
||||
|
@ -1,3 +1,5 @@
|
||||
using Base.Filesystem: path_separator
|
||||
|
||||
using Pkg: Pkg
|
||||
using Random: Random
|
||||
using Test: @test, @testset, @test_throws
|
||||
@ -23,9 +25,9 @@ tpl(; kwargs...) = Template(; user=USER, kwargs...)
|
||||
# Quite a bit of output depends on the Julia version,
|
||||
# and the test fixtures are generated with Julia 1.2.
|
||||
if VERSION.major == 1 && VERSION.minor == 2
|
||||
include("generate.jl")
|
||||
include("reference.jl")
|
||||
else
|
||||
@info "Skipping reference tests (Julia = $VERSION)"
|
||||
@info "Skipping reference tests" julia=VERSION
|
||||
end
|
||||
finally
|
||||
popfirst!(DEPOT_PATH)
|
||||
|
@ -19,7 +19,7 @@
|
||||
end
|
||||
|
||||
@testset "dir" begin
|
||||
@test tpl(; dir="/foo/bar").dir == "/foo/bar"
|
||||
@test tpl(; dir="/foo/bar").dir == joinpath(path_separator, "foo", "bar")
|
||||
@test tpl(; dir="foo").dir == abspath("foo")
|
||||
@test tpl(; dir="~/foo").dir == abspath(expanduser("~/foo"))
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user