Skip to content

Commit 5a3b723

Browse files
committed
Fix .travis.yml and appveyor.yml
1 parent 24022ed commit 5a3b723

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ before_script:
5454
- which $PYTHON
5555
- $PYTHON -m pip --version
5656
- $PYTHON -m pip install --quiet tox
57-
- julia -e 'Pkg.add("PyCall")'
57+
- julia --color=yes -e 'VERSION >= v\"0.7.0-DEV.5183\" && using Pkg; Pkg.add("PyCall")'
5858
script:
5959

6060
# "py,py27" below would be redundant when the main interpreter is

appveyor.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,15 @@ build_script:
6363
# - C:\projects\julia\bin\julia -e "versioninfo(); Pkg.add(\"PyCall\"); Pkg.init(); Pkg.resolve()"
6464
# - C:\projects\julia\bin\julia -e "using PyCall; @assert isdefined(:PyCall); @assert typeof(PyCall) === Module"
6565
- "SET PYTHON=%PYTHONDIR%\\python.exe"
66-
- C:\projects\julia\bin\julia -e "versioninfo(); Pkg.add(\"PyCall\")"
66+
- C:\projects\julia\bin\julia -e "
67+
if VERSION >= v\"0.7.0-DEV.3630\";
68+
using InteractiveUtils;
69+
versioninfo(verbose=true);
70+
else
71+
versioninfo(true);
72+
end;
73+
VERSION >= v\"0.7.0-DEV.5183\" && using Pkg;
74+
Pkg.add(\"PyCall\")"
6775
- "%PYTHONDIR%\\python.exe -m pip install --quiet tox"
6876

6977
test_script:

0 commit comments

Comments
 (0)