Skip to content

Commit 9ebc928

Browse files
tkfstevengj
authored andcommitted
Fix CI (JuliaLang#710)
1 parent 31d0a4d commit 9ebc928

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ julia:
77
- nightly
88
notifications:
99
email: false
10-
script:
11-
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
12-
- julia -e 'Pkg.clone(pwd()); Pkg.build("IJulia")'
13-
- julia -e 'Pkg.test("IJulia"; coverage=true)'
1410
after_success:
1511
- julia --color=yes -e 'cd(Pkg.dir("IJulia")); Pkg.add("Coverage"); using Coverage;
1612
Coveralls.submit(Coveralls.process_folder())'

appveyor.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,22 @@ install:
3131
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
3232

3333
build_script:
34-
- C:\projects\julia\bin\julia -e "versioninfo(true);
34+
- C:\projects\julia\bin\julia -e "
35+
if VERSION >= v\"0.7.0-DEV.3630\";
36+
using InteractiveUtils;
37+
versioninfo(verbose=true);
38+
else
39+
versioninfo(true);
40+
end;
41+
VERSION >= v\"0.7.0-DEV.5183\" && using Pkg;
3542
Pkg.clone(pwd(), \"IJulia\");
3643
Pkg.add(\"Conda\"); using Conda;
37-
try Conda.add(\"qt\") end;
44+
try Conda.add(\"qt\"); catch end;
3845
postlink = normpath(Pkg.dir(\"Conda\"), \"deps/usr/pkgs/qt-4.8.7-vc9_9/Scripts/.qt-post-link.bat\");
3946
isfile(postlink) && rm(postlink);
4047
Pkg.build(\"IJulia\")"
4148

4249
test_script:
43-
- C:\projects\julia\bin\julia -e "Pkg.test(\"IJulia\")"
50+
- C:\projects\julia\bin\julia -e "
51+
VERSION >= v\"0.7.0-DEV.5183\" && using Pkg;
52+
Pkg.test(\"IJulia\")"

0 commit comments

Comments
 (0)