Skip to content

Commit cd0a893

Browse files
committed
Update build scripts
1 parent ea0209d commit cd0a893

3 files changed

Lines changed: 16 additions & 10 deletions

File tree

.travis.yml

Lines changed: 4 additions & 4 deletions
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 'VERSION < v"0.7.0-DEV" || (using Pkg) ; if VERSION < v"0.7.0-DEV.5183" ; for n in ("ModuleInterfaceTools", "Format", "StrAPI", "CharSetEncodings"); Pkg.add(n); end ; for n in ("ChrBase", "MurmurHash3", "StrBase", "StrLiterals") ; Pkg.clone("https://github.com/JuliaString/$n.jl") ; end ; Pkg.clone(pwd()) ; end ; Pkg.test("StrFormat"; coverage=true)'
23+
- julia -e 'VERSION < v"0.7.0-DEV" || (using Pkg) ; if VERSION < v"0.7.0-DEV.5183" ; for n in ("ModuleInterfaceTools", "MurmurHash3", "Format", "StrAPI", "CharSetEncodings"); Pkg.add(n); end ; for n in ("ChrBase", "StrBase", "StrLiterals") ; Pkg.clone("https://github.com/JuliaString/$n.jl") ; end ; Pkg.clone(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())'

Project.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ authors = ["ScottPJones <scottjones@alum.mit.edu>"]
44
keywords = ["Strings", "Literals", "printf", "Format"]
55
license = "MIT"
66
uuid = "a5a47323-cf2a-443b-a747-99a2b29c4966"
7-
repo = "https://github.com/JuliaString/StrFormat.jl.git"
7+
repo-url = "https://github.com/JuliaString/StrFormat.jl.git"
8+
repo-rev = ""
9+
version = "0.1.0"
810

911
[deps]
1012
Format = "1fa38f19-a742-5d3f-a2b9-30dd87b9d5f8"

appveyor.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,16 @@ 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 Pkg,InteractiveUtils); versioninfo(); pkg = \"StrFormat\";
43+
- C:\projects\julia\bin\julia -e "VERSION < v\"0.7.0-DEV\" || (using InteractiveUtils);
44+
versioninfo(); pkg = \"StrFormat\";
4445
if VERSION < v\"0.7.0-DEV.5183\";
45-
Pkg.add(\"Format\");
46-
Pkg.clone(pwd(), pkg);
47-
else;
48-
Pkg.add(pwd(), pkg);
46+
for n in (\"ModuleInterfaceTools\", \"MurmurHash3\", \"Format\", \"StrAPI\", \"CharSetEncodings\");
47+
Pkg.add(n);
48+
end;
49+
for n in (\"ChrBase\", \"StrBase\", \"StrLiterals\");
50+
Pkg.clone(\"https://github.com/JuliaString/$n.jl.git\", n);
51+
end;
52+
Pkg.clone(pwd(), \"StrFormat\");
4953
end"
5054

5155
test_script:

0 commit comments

Comments
 (0)