Skip to content

Commit d620fa3

Browse files
committed
Update build scripts
1 parent d26b409 commit d620fa3

3 files changed

Lines changed: 15 additions & 8 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ matrix:
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" ; for n in ("ModuleInterfaceTools", "MurmurHash3", "Format", "StrAPI", "CharSetEncodings", "ChrBase"); Pkg.add(n); end ; for n in ("StrBase", "StrLiterals") ; Pkg.clone("https://github.com/JuliaString/$n.jl") ; end ; Pkg.clone(pwd()) ; else; Pkg.up(); end ; Pkg.test("StrFormat"; coverage=true)'
23+
- julia -e 'mit = "ModuleInterfaceTools"; mh3 = "MurmurHash3"; loc = "https://github.com/JuliaString"; sb="StrBase"; sl="StrLiterals"; la = ("Format", "StrAPI", "CharSetEncodings", "ChrBase"); if VERSION < v"0.7.0-DEV.5183"; cln = Pkg.clone; cln("$loc/$mit.jl"); cln("$loc/$mh3.jl"); for n in la; Pkg.add(n); end; cln("$loc/$sb.jl"); cln("$loc/$sl.jl"); cln(pwd()); else; using Pkg; cln(a)=Pkg.add("$loc/$a.jl.git"); cln(mit); cln(mh3); for n in la; cln(n); end; cln(sb); cln(sl); end; Pkg.test("StrFormat"; coverage=true)'
2424
after_success:
2525
# push coverage results to Coveralls
2626
- julia -e 'cd(Pkg.dir("StrFormat")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

REQUIRE

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
julia 0.6
22
Format
3-
StrLiterals
3+
ChrBase
4+
#StrLiterals

appveyor.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,20 @@ build_script:
4141
# Need to convert from shallow to complete for Pkg.clone to work
4242
- IF EXIST .git\shallow (git fetch --unshallow)
4343
- C:\projects\julia\bin\julia -e "VERSION < v\"0.7.0-DEV\" || (using InteractiveUtils);
44-
versioninfo(); pkg = \"StrFormat\";
45-
la = (\"ModuleInterfaceTools\", \"MurmurHash3\", \"Format\", \"StrAPI\", \"CharSetEncodings\", \"ChrBase\");
46-
lc = (\"StrBase\", \"StrLiterals\");
44+
versioninfo(); mit = \"ModuleInterfaceTools\"; mh3 = \"MurmurHash3\";
45+
loc = \"https://github.com/JuliaString\"; sb = \"StrBase\"; sl = \"StrLiterals\";
46+
la = (\"Format\", \"StrAPI\", \"CharSetEncodings\", \"ChrBase\");
4747
if VERSION < v\"0.7.0-DEV.5183\";
48+
cln(a) = Pkg.clone(\"$loc/$a.jl.git\", a);
49+
cln(mit); cln(mh3);
4850
for n in la; Pkg.add(n); end;
49-
for n in lc; Pkg.clone(\"https://github.com/JuliaString/$n.jl.git\", n); end;
50-
Pkg.clone(pwd(), pkg);
51-
else; Pkg.up(); end"
51+
cln(sb); cln(sl);
52+
Pkg.clone(pwd(), \"StrFormat\");
53+
else;
54+
using Pkg;
55+
cln(a) = Pkg.add(\"$loc/$a.jl.git\");
56+
cln(mit); cln(mh3); for n in la; cln(n); end; cln(sb); cln(sl);
57+
end"
5258

5359
test_script:
5460
- C:\projects\julia\bin\julia -e "Pkg.test(\"StrFormat\")"

0 commit comments

Comments
 (0)