File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ matrix:
27
27
28
28
# # uncomment the following lines to override the default test script
29
29
script :
30
- - julia -e 'VERSION < v"0.7.0-DEV" || (using Pkg) ; if VERSION < v"0.7.0-DEV.5183" ; Pkg.clone(pwd()) ; end ; Pkg.test("ModuleInterfaceTools"; coverage=true)'
30
+ - julia -e 'VERSION < v"0.7.0-DEV" || (using Pkg) ; if VERSION < v"0.7.0-DEV.5183" ; Pkg.clone(pwd()) ; else ; pkg"up" ; end ; Pkg.test("ModuleInterfaceTools"; coverage=true)'
31
31
after_success :
32
32
# push coverage results to Coveralls
33
33
- julia -e 'VERSION < v"0.7.0-DEV" || (using Pkg); cd(Pkg.dir("ModuleInterfaceTools")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
Original file line number Diff line number Diff line change @@ -40,9 +40,11 @@ install:
40
40
build_script :
41
41
# Need to convert from shallow to complete for Pkg.clone to work
42
42
- IF EXIST .git\shallow (git fetch --unshallow)
43
- - C:\projects\julia\bin\julia -e "VERSION < v\"0.7.0-DEV\" || (using InteractiveUtils);
43
+ - C:\projects\julia\bin\julia -e "VERSION < v\"0.7.0-DEV\" || (using Pkg, InteractiveUtils);
44
44
versioninfo();
45
- if VERSION < v\"0.7.0-DEV.5183\"; Pkg.clone(pwd(), \"ModuleInterfaceTools\"); end"
45
+ if VERSION < v\"0.7.0-DEV.5183\";
46
+ Pkg.clone(pwd(), \"ModuleInterfaceTools\");
47
+ else; pkg"up"; end"
46
48
47
49
test_script :
48
50
- C:\projects\julia\bin\julia -e "VERSION < v\"0.7.0-DEV\" || (using Pkg); Pkg.test(\"ModuleInterfaceTools\")"
You can’t perform that action at this time.
0 commit comments