Skip to content

Commit ea0413a

Browse files
committed
Update REQUIRE and use Pkg3 on v0.7
1 parent 66af4a9 commit ea0413a

File tree

5 files changed

+20
-7
lines changed

5 files changed

+20
-7
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ git:
2020
# uncomment the following lines to override the default test script
2121
script:
2222
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
23-
- julia -e 'if VERSION < v"0.7.0-DEV.5183"; Pkg.clone(pwd()); else; using Pkg; Pkg.up(); end; Pkg.test("StrFormat"; coverage=true)'
23+
- julia -e 'if VERSION < v"0.7.0-DEV.5183"; Pkg.clone(pwd()); else; using Pkg; Pkg.up(); l=("ChrBase", "StrBase", "StrLiterals"); for n in l; Pkg.rm(n); end; Pkg.add(["https://github.com/JuliaString/$n.jl" for n in l]); Pkg.add(pwd()); end; Pkg.test("StrFormat"; coverage=true)'
2424
after_success:
2525
# push coverage results to Coveralls
26-
- julia -e 'cd(Pkg.dir("StrFormat")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
26+
- julia -e 'VERSION < v"0.7.0-DEV" || (using Pkg); cd(Pkg.dir("StrFormat")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
2727
# push coverage results to Codecov
28-
- julia -e 'cd(Pkg.dir("StrFormat")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
28+
- julia -e 'VERSION < v"0.7.0-DEV" || (using Pkg); cd(Pkg.dir("StrFormat")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'

Project.toml Project.save

File renamed without changes.

REQUIRE

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
julia 0.6
2-
Format
3-
StrLiterals
2+
Format 0.6.4
3+
ModuleInterfaceTools 0.1.2
4+
StrAPI 0.1.1
5+
CharSetEncodings 0.1.1
6+
ChrBase 0.1.1
7+
MurmurHash3 0.1.2
8+
StrBase 0.1.1
9+
StrLiterals 0.1.0

appveyor.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@ build_script:
4343
- C:\projects\julia\bin\julia -e "VERSION < v\"0.7.0-DEV\" || (using InteractiveUtils);
4444
versioninfo();
4545
if VERSION < v\"0.7.0-DEV.5183\"; Pkg.clone(pwd(), \"StrFormat\");
46-
else; using Pkg; Pkg.up(); end"
46+
else; using Pkg; Pkg.up();
47+
l = ("ChrBase", "StrBase", "StrLiterals");
48+
for n in l; Pkg.rm(n); end;
49+
Pkg.add(["https://github.com/JuliaString/$n.jl" for n in l]);
50+
Pkg.add(pwd());
51+
end"
4752

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

test/runtests.jl

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
using ModuleInterfaceTools, Format
44

5+
@static V6_COMPAT || (using Pkg)
6+
57
@api test StrAPI, StrLiterals
68

79
using StrFormat

0 commit comments

Comments
 (0)