Skip to content

Commit 1b2ea0b

Browse files
authored
Merge pull request #2 from JuliaString/updates
Updates
2 parents 422c96e + 38ff738 commit 1b2ea0b

File tree

6 files changed

+192
-82
lines changed

6 files changed

+192
-82
lines changed

.travis.yml

+12-4
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ 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 and modify the following lines to manually install system packages
2121
#addons:
@@ -27,7 +27,15 @@ git:
2727

2828
## uncomment the following lines to override the default test script
2929
script:
30-
- julia -e 'if VERSION < v"0.7.0-DEV.5183" ; Pkg.clone(pwd()) ; else ; Pkg.up() ; end ; Pkg.test("ModuleInterfaceTools"; coverage=true)'
30+
- julia -e '
31+
if VERSION < v"0.7.0-DEV.5183";
32+
Pkg.clone(pwd());
33+
Pkg.test("ModuleInterfaceTools", coverage=true);
34+
else;
35+
using UUIDs; import Pkg; p = "Project.toml"; uuid = "5cb8414e-7aab-5a03-a681-351269c074bf";
36+
write(p, replace(read(p, String), uuid => uuid4()));
37+
Pkg.instantiate(); push!(LOAD_PATH, "test"); Pkg.test(; coverage=true);
38+
end'
3139
after_success:
3240
# push coverage results to Coveralls
3341
- julia -e 'cd(Pkg.dir("ModuleInterfaceTools")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

Manifest.toml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[[Pkg]]
2+
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
3+
4+
[[Test]]
5+
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
6+
7+
[[APITest]]
8+
path = "test"
9+
uuid = "999adbfa-7dca-48e3-8844-41bde97b6280"

Project.toml

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
authors = ["ScottPJones <[email protected]>"]
2-
desc = "Tools to help build a consistent API across various packages, use it, and enquire about it"
1+
name = "ModuleInterfaceTools"
2+
uuid = "57012a8c-f217-493e-9761-d906ce7698cb"
33
keywords = ["package", "module", "API"]
44
license = "MIT"
5-
name = "ModuleInterfaceTools"
6-
uuid = "5cb8414e-7aab-5a03-a681-351269c074bf"
5+
desc = "Tools to help build a consistent API across various packages, use it, and enquire about it"
6+
authors = ["ScottPJones <[email protected]>"]
7+
version = "0.1.3"
78

89
[deps]
9-
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
10+
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
1011
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
12+
APITest = "999adbfa-7dca-48e3-8844-41bde97b6280"

appveyor.yml

+11-6
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ environment:
77

88
## uncomment the following lines to allow failures on nightly julia
99
## (tests will run but not make your overall status red)
10-
#matrix:
11-
# allow_failures:
12-
# - JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
13-
# - JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
10+
matrix:
11+
allow_failures:
12+
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
13+
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
1414

1515
branches:
1616
only:
@@ -44,7 +44,12 @@ build_script:
4444
versioninfo();
4545
if VERSION < v\"0.7.0-DEV.5183\";
4646
Pkg.clone(pwd(), \"ModuleInterfaceTools\");
47-
else; Pkg.up(); end"
47+
else;
48+
p = \"Project.toml\"; using UUIDs;
49+
uuid = \"5cb8414e-7aab-5a03-a681-351269c074bf\";
50+
write(p, replace(read(p, String), uuid => uuid4()));
51+
using Pkg; Pkg.instantiate();
52+
end"
4853

4954
test_script:
50-
- C:\projects\julia\bin\julia -e "Pkg.test(\"ModuleInterfaceTools\")"
55+
- C:\projects\julia\bin\julia -e "VERSION < v\"0.7.0-DEV\" || (using Pkg); push!(LOAD_PATH, \"test\"); Pkg.test(\"ModuleInterfaceTools\")"

0 commit comments

Comments
 (0)