Commit e02b0650 authored by Jason Madden's avatar Jason Madden

Only run the cython steps for cpython; use the right python for develop

parent 9cfd32e9
......@@ -114,17 +114,20 @@ install:
- ps: "if(Test-Path(\"${env:PYTHON}\\Scripts\")) {ls ${env:PYTHON}\\Scripts;}"
# XXX: Most of this is a copy of the Makefile. Remember to update.
- "%PYEXE% util/cythonpp.py -o gevent.corecext.c gevent/core.ppyx"
- "type gevent\\callbacks.c >> gevent.corecext.c"
- "move gevent.corecext.* gevent"
- "cython -o gevent.ares.c gevent/ares.pyx"
- "move gevent.ares.* gevent"
- "move gevent\\_semaphore.pyx gevent\\_semaphore.py"
- "cython -o gevent._semaphore.c gevent/_semaphore.py"
- "move gevent._semaphore.* gevent"
- "del gevent\\_semaphore.py"
- "cython -o gevent._util.c gevent/_util.pyx"
- "move gevent._util.* gevent"
- cmd:
IF "%PYTHON_EXE%" == "python" (
"%PYEXE% util/cythonpp.py -o gevent.corecext.c gevent/core.ppyx"
"type gevent\\callbacks.c >> gevent.corecext.c"
"move gevent.corecext.* gevent"
"cython -o gevent.ares.c gevent/ares.pyx"
"move gevent.ares.* gevent"
"move gevent\\_semaphore.pyx gevent\\_semaphore.py"
"cython -o gevent._semaphore.c gevent/_semaphore.py"
"move gevent._semaphore.* gevent"
"del gevent\\_semaphore.py"
"cython -o gevent._util.c gevent/_util.pyx"
"move gevent._util.* gevent"
)
cache:
- "%TMP%\\py\\"
......@@ -133,7 +136,7 @@ build: false # Not a C# project, build stuff at the test step instead.
test_script:
# Build the compiled extension and run the project tests
- "%CMD_IN_ENV% python setup.py develop"
- "%CMD_IN_ENV% %PYEXE% setup.py develop"
- "cd greentest && %PYEXE% testrunner.py --config ../known_failures.py && cd .."
after_test:
......
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