File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ matrix:
20
20
# uncomment the following lines to override the default test script
21
21
script :
22
22
- 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" ; Pkg.add("Compat") ; Pkg.clone(pwd()) ; else ; pkg"up" ; end ; Pkg.test("Format"; coverage=true)'
23
+ - julia -e 'if VERSION < v"0.7.0-DEV.5183" ; Pkg.add("Compat") ; Pkg.clone(pwd()) ; else ; Pkg.up() ; end ; Pkg.test("Format"; coverage=true)'
24
24
after_success :
25
25
# push coverage results to Coveralls
26
26
- julia -e 'cd(Pkg.dir("Format")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
Original file line number Diff line number Diff line change @@ -38,12 +38,12 @@ install:
38
38
build_script :
39
39
# Need to convert from shallow to complete for Pkg.clone to work
40
40
- IF EXIST .git\shallow (git fetch --unshallow)
41
- - C:\projects\julia\bin\julia -e "VERSION < v\"0.7.0-DEV\" || (using Pkg, InteractiveUtils);
41
+ - C:\projects\julia\bin\julia -e "VERSION < v\"0.7.0-DEV\" || (using InteractiveUtils);
42
42
versioninfo();
43
43
if VERSION < v\"0.7.0-DEV.5183\";
44
44
Pkg.add(\"Compat\");
45
45
Pkg.clone(pwd(), \"Format\");
46
- else; pkg"up" ; end"
46
+ else; Pkg.up() ; end"
47
47
48
48
test_script :
49
- - C:\projects\julia\bin\julia -e "VERSION < v\"0.7.0-DEV\" || (using Pkg); Pkg.test(\"Format\")"
49
+ - C:\projects\julia\bin\julia -e "Pkg.test(\"Format\")"
You can’t perform that action at this time.
0 commit comments