Skip to content

Commit 1bc198d

Browse files
author
Dan
committed
Updated appveyor config
1 parent e0e8971 commit 1bc198d

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

appveyor.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -91,36 +91,36 @@ install:
9191

9292
# Upgrade to the latest version of pip to avoid it displaying warnings
9393
# about it being out of date.
94-
- "%CMD_IN_ENV% pip install --disable-pip-version-check --user --upgrade pip"
94+
- "pip install --disable-pip-version-check --user --upgrade pip"
9595

9696
# Install the build dependencies of the project. If some dependencies contain
9797
# compiled extensions and are not provided as pre-built wheel packages,
9898
# pip will build them from source using the MSVC compiler matching the
9999
# target Python version and architecture
100100
# NOTE: psutil won't install under PyPy.
101-
- "%CMD_IN_ENV% pip install -r requirements.txt"
101+
- "pip install -r requirements.txt"
102102

103103
- ps: "if(Test-Path(\"${env:PYTHON}\\bin\")) {ls ${env:PYTHON}\\bin;}"
104104
- ps: "if(Test-Path(\"${env:PYTHON}\\Scripts\")) {ls ${env:PYTHON}\\Scripts;}"
105105

106106
cache:
107107
- "%TMP%\\py\\"
108108

109-
build_script:
110-
# Build the compiled extension
111-
- "%CMD_IN_ENV% %PYEXE% setup.py bdist_wheel bdist_wininst"
112-
- ps: "ls dist"
113-
# Now install the wheel.
114-
# I couldn't get wildcards to work for pip install, so stuff it
115-
# into a variable, using python to glob.
116-
- "%PYEXE% -c \"import glob; print(glob.glob('dist/*whl')[0])\" > whl.txt"
117-
- set /p PYWHL=<whl.txt
118-
- pip install %PYWHL%
109+
# build_script:
110+
# # Build wheel
111+
# - "%PYEXE% setup.py bdist_wheel bdist_wininst"
112+
# - ps: "ls dist"
113+
# # Now install the wheel.
114+
# # I couldn't get wildcards to work for pip install, so stuff it
115+
# # into a variable, using python to glob.
116+
# - "%PYEXE% -c \"import glob; print(glob.glob('dist/*whl')[0])\" > whl.txt"
117+
# - set /p PYWHL=<whl.txt
118+
# - pip install %PYWHL%
119119

120120
test_script:
121121
# Run the project tests
122-
- "%PYEXE%" setup.py nosetests --with-coverage --cover-package=pssh
123-
- "%PYEXE%" -c 'import sys; sys.version_info >= (3,) and sys.exit(1)' || eval "2to3 -nw embedded_server/*.py && 2to3 tests/*.py -o tests3 -nw && cp tests/test_client_private_key* tests3/ && python setup.py nosetests -w tests3 --with-coverage --cover-package=pssh"
122+
- "%PYEXE% setup.py nosetests"
123+
- "%PYEXE% -c 'import sys; sys.version_info >= (3,) and sys.exit(1)' || eval \"2to3 -nw embedded_server\*.py && 2to3 tests\*.py -o tests3 -nw && cp tests\test_client_private_key* tests3\ && %PYEXE% setup.py nosetests -w tests3\""
124124

125125
after_test:
126126
# We already built the wheel during build_script, because it's

0 commit comments

Comments
 (0)