Skip to content

Commit 37ffe9d

Browse files
committed
Update REQUIRE and use Pkg3 on v0.7
1 parent 422c96e commit 37ffe9d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

appveyor.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ build_script:
4242
- IF EXIST .git\shallow (git fetch --unshallow)
4343
- C:\projects\julia\bin\julia -e "VERSION < v\"0.7.0-DEV\" || (using InteractiveUtils);
4444
versioninfo();
45-
if VERSION < v\"0.7.0-DEV.5183\";
46-
Pkg.clone(pwd(), \"ModuleInterfaceTools\");
47-
else; Pkg.up(); end"
45+
if VERSION < v\"0.7.0-DEV.5183\"; Pkg.clone(pwd(), \"ModuleInterfaceTools\");
46+
else; using Pkg; Pkg.up(); end"
4847

4948
test_script:
50-
- C:\projects\julia\bin\julia -e "Pkg.test(\"ModuleInterfaceTools\")"
49+
- C:\projects\julia\bin\julia -e "VERSION < v\"0.7.0-DEV\" || (using Pkg); Pkg.test(\"ModuleInterfaceTools\")"

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
using ModuleInterfaceTools
55

6-
@static V6_COMPAT ? (using Base.Test) : (using Test)
6+
@static V6_COMPAT ? (using Base.Test) : (using Pkg, Test)
77

88
# Pick up APITest from the test directory
99
push!(LOAD_PATH, @__DIR__)

0 commit comments

Comments
 (0)