Commit 0ad1a178 authored by Jason Madden's avatar Jason Madden

Quote the var. [skip travis]

parent a09d550a
......@@ -138,7 +138,7 @@ install:
# compiled extensions and are not provided as pre-built wheel packages,
# pip will build them from source using the MSVC compiler matching the
# target Python version and architecture
- if not %GWHEEL_ONLY%==true %CMD_IN_ENV% %PYEXE% -m pip install -U --upgrade-strategy=eager -r ci-requirements.txt
- if not "%GWHEEL_ONLY%"=="true" %CMD_IN_ENV% %PYEXE% -m pip install -U --upgrade-strategy=eager -r ci-requirements.txt
- ps: "if(Test-Path(\"${env:PYTHON}\\bin\")) {ls ${env:PYTHON}\\bin;}"
- ps: "if(Test-Path(\"${env:PYTHON}\\Scripts\")) {ls ${env:PYTHON}\\Scripts;}"
......@@ -156,13 +156,13 @@ build_script:
# into a variable, using python to glob.
- "%PYEXE% -c \"import glob; print(glob.glob('dist/gevent*whl')[0])\" > whl.txt"
- set /p PYWHL=<whl.txt
- if not %GWHEEL_ONLY%==true %PYEXE% -m pip install -U --upgrade-strategy=eager %PYWHL%[test,events,dnspython]
- if not "%GWHEEL_ONLY%"=="true" %PYEXE% -m pip install -U --upgrade-strategy=eager %PYWHL%[test,events,dnspython]
test_script:
# Run the project tests
- if not %GWHEEL_ONLY%==true %PYEXE% -c "import gevent.core; print(gevent.core.loop)"
- if not %GWHEEL_ONLY%==true %PYEXE% -c "import gevent; print(gevent.config.settings['resolver'].get_options())"
- if not %GWHEEL_ONLY%==true %PYEXE% -mgevent.tests --config known_failures.py --quiet
- if not "%GWHEEL_ONLY%"=="true" %PYEXE% -c "import gevent.core; print(gevent.core.loop)"
- if not "%GWHEEL_ONLY%"=="true" %PYEXE% -c "import gevent; print(gevent.config.settings['resolver'].get_options())"
- if not "%GWHEEL_ONLY%"=="true" %PYEXE% -mgevent.tests --config known_failures.py --quiet
after_test:
# We already built the wheel during build_script, because it's
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment