Skip to content

Commit 8fce60f

Browse files
committed
Fixes for Pkg3
1 parent ea0413a commit 8fce60f

File tree

3 files changed

+12
-19
lines changed

3 files changed

+12
-19
lines changed

.travis.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ git:
1313

1414
## uncomment the following lines to allow failures on nightly julia
1515
## (tests will run but not make your overall status red)
16-
#matrix:
17-
# allow_failures:
18-
# - julia: nightly
16+
matrix:
17+
allow_failures:
18+
- julia: nightly
1919

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(); 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)'
23+
- julia -e 'if VERSION < v"0.7.0-DEV.5183"; Pkg.clone(pwd()); else; using Pkg; Pkg.add(pwd()); end; Pkg.test("StrFormat"; coverage=true)'
2424
after_success:
2525
# push coverage results to Coveralls
2626
- julia -e 'VERSION < v"0.7.0-DEV" || (using Pkg); cd(Pkg.dir("StrFormat")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

REQUIRE

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
julia 0.6
22
Format 0.6.4
33
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
4+
StrAPI 0.1.2
5+
CharSetEncodings 0.1.3
6+
ChrBase 0.1.2
7+
MurmurHash3 0.1.3
8+
StrBase 0.1.3
9+
StrLiterals 0.1.2

appveyor.yml

+2-9
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,8 @@ install:
4040
build_script:
4141
# Need to convert from shallow to complete for Pkg.clone to work
4242
- IF EXIST .git\shallow (git fetch --unshallow)
43-
- C:\projects\julia\bin\julia -e "VERSION < v\"0.7.0-DEV\" || (using InteractiveUtils);
44-
versioninfo();
45-
if VERSION < v\"0.7.0-DEV.5183\"; Pkg.clone(pwd(), \"StrFormat\");
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"
43+
- C:\projects\julia\bin\julia -e "VERSION < v\"0.7.0-DEV\" || (using Pkg, InteractiveUtils);
44+
versioninfo(); Pkg.clone(pwd(), \"StrFormat\")"
5245

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

0 commit comments

Comments
 (0)