Skip to content

Commit

Permalink
Attempt to un-break Appveyor:
Browse files Browse the repository at this point in the history
- Put '_testing' on PYTHONPATH only for Py3k (debug grpico-on-Py3k issues
  later).

- Use 'setup.py develop' rather than 'setup.py build' to get dependencies
  installed.

- Run 'pip list' afterwards to show what got installed.

Toward #1863.
  • Loading branch information
tseaver committed Jul 8, 2016
1 parent 771bc7a commit ff737ac
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,29 @@ environment:
- PYTHON: "C:\\Python34"
PYTHON_VERSION: "3.4.4"
PYTHON_ARCH: "32"
# Use mocked-up GRPC for now
GRPC_PATH: "_testing"

- PYTHON: "C:\\Python34-x64"
PYTHON_VERSION: "3.4.4"
PYTHON_ARCH: "64"
# Use mocked-up GRPC for now
GRPC_PATH: "_testing"

# Python 3.5.1 is the latest Python 3.5 with a Windows installer
# Python 3.5.1 is the overall latest
# https://www.python.org/ftp/python/3.5.1/
- PYTHON: "C:\\Python35"
PYTHON_VERSION: "3.5.1"
PYTHON_ARCH: "32"
# Use mocked-up GRPC for now
GRPC_PATH: "_testing"

- PYTHON: "C:\\Python35-x64"
PYTHON_VERSION: "3.5.1"
PYTHON_ARCH: "64"
# Use mocked-up GRPC for now
GRPC_PATH: "_testing"

install:
- ECHO "Filesystem root:"
Expand Down Expand Up @@ -78,10 +86,12 @@ install:

build_script:
# Build the compiled extension
- "%CMD_IN_ENV% python setup.py build"
#- "%CMD_IN_ENV% python setup.py build"
- "%CMD_IN_ENV% python setup.py develop"
- "%CMD_IN_ENV% pip list"

test_script:
- "set PYTHONPATH=_testing"
- "set PYTHONPATH=%GRPC_PATH%"
# Run the project tests
- "%CMD_IN_ENV% python setup.py nosetests"

Expand Down

0 comments on commit ff737ac

Please sign in to comment.