Skip to content

Make CI on AppVeyor work with latest tox #313

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ before_script:
# Following which command will catch installation failure:
- PYTHON=${PYTHON:-python}
- which $PYTHON
- $PYTHON -m pip install --quiet --upgrade pip
- $PYTHON -m pip --version
- $PYTHON -m pip install --quiet tox coveralls
- $PYTHON ci/install_pycall.py
Expand Down
16 changes: 10 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ environment:
# BATDIR: ci\appveyor\win32

# 64 julia-1.0 Python-35
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/1.0/julia-1.0-latest-win64.exe"
PYTHONDIR: "C:\\Python35-x64"
BATDIR: ci\appveyor\win64
# - JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/1.0/julia-1.0-latest-win64.exe"
# PYTHONDIR: "C:\\Python35-x64"
# BATDIR: ci\appveyor\win64

# 64 julia latest Python-35
# - JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
Expand Down Expand Up @@ -56,10 +56,14 @@ install:
- C:\projects\julia-binary.exe /S /D=C:\projects\julia

build_script:
- "SET PATH=%PYTHONDIR%;%PYTHONDIR%\\Scripts;C:\\projects\\julia\\bin;%PATH%"
- "SET PATH=%cd%\\%BATDIR%;%PYTHONDIR%;%PYTHONDIR%\\Scripts;C:\\projects\\julia\\bin;%PATH%"
- "\"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\amd64\\editbin.exe\" %PYTHONDIR%\\python.exe /STACK:8000000"
- "SET PYTHON=%PYTHONDIR%\\python.exe"
- "%PYTHONDIR%\\python.exe -m pip install --quiet tox==3.9.0"
- "%PYTHONDIR%\\python.exe -m pip install --quiet --upgrade pip virtualenv setuptools"
- "%PYTHONDIR%\\python.exe -m pip --version"
- "%PYTHONDIR%\\python.exe -m pip install --quiet tox==3.10.0"
- "python2.7 -m pip install --quiet --upgrade pip virtualenv setuptools"
- "python2.7 -m pip --version"
- "%PYTHONDIR%\\python.exe ci\\install_pycall.py"

test_script:
Expand All @@ -69,7 +73,7 @@ test_script:
# Rebuild PyCall.ji for each Python interpreter before testing:
- "SET PYJULIA_TEST_REBUILD=yes"
- tox --version
- tox
- tox -rvv -e py27

on_finish:
- ps: cat .tox\py\log\pytest.log
Expand Down
1 change: 1 addition & 0 deletions ci/appveyor/win32/python2.7.bat
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
@echo off
@C:\Python27\python.exe %*
1 change: 1 addition & 0 deletions ci/appveyor/win32/python3.5.bat
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
@echo off
@C:\Python35\python.exe %*
1 change: 1 addition & 0 deletions ci/appveyor/win64/python2.7.bat
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
@echo off
@C:\Python27-x64\python.exe %*
1 change: 1 addition & 0 deletions ci/appveyor/win64/python3.5.bat
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
@echo off
@C:\Python35-x64\python.exe %*
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ deps =
extras =
test
commands =
python -c 'import sys; print(sys.maxsize)'

python -m julia.find_libpython --list-all --verbose
# Print libpython candidates found by `find_libpython`. It may be
# useful for debugging.
Expand Down