File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ before_script:
54
54
- which $PYTHON
55
55
- $PYTHON -m pip --version
56
56
- $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")'
58
58
script :
59
59
60
60
# "py,py27" below would be redundant when the main interpreter is
Original file line number Diff line number Diff line change @@ -63,7 +63,15 @@ build_script:
63
63
# - C:\projects\julia\bin\julia -e "versioninfo(); Pkg.add(\"PyCall\"); Pkg.init(); Pkg.resolve()"
64
64
# - C:\projects\julia\bin\julia -e "using PyCall; @assert isdefined(:PyCall); @assert typeof(PyCall) === Module"
65
65
- " 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\")"
67
75
- " %PYTHONDIR%\\ python.exe -m pip install --quiet tox"
68
76
69
77
test_script :
You can’t perform that action at this time.
0 commit comments