Skip to content
Snippets Groups Projects
Commit 4af535f8 authored by Amir Rachum's avatar Amir Rachum Committed by GitHub
Browse files

Merge pull request #287 from FarmerSez/add-pypy-to-windows-ci

Add pypy to windows ci
parents 7224d22b 27d3058d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -5,8 +5,12 @@ environment:
- TOXENV: "py34"
- TOXENV: "py35"
- TOXENV: "py36"
- TOXENV: "pypy"
 
install:
# This takes a long time, so it's done only for pypy env.
- if "%TOXENV%"=="pypy" choco install python.pypy
- pip install tox
 
build: off
Loading
Loading
Loading
Loading
@@ -110,11 +110,9 @@ def install_package(request):
script.
"""
cwd = os.path.join(os.path.dirname(__file__), '..', '..')
install_cmd = "python setup.py develop"
uninstall_cmd = install_cmd + ' --uninstall'
subprocess.check_call(shlex.split(install_cmd), cwd=cwd)
subprocess.check_call(shlex.split("pip install -e ."), cwd=cwd)
yield
subprocess.check_call(shlex.split(uninstall_cmd), cwd=cwd)
subprocess.check_call(shlex.split("pip uninstall ."), cwd=cwd)
 
 
@pytest.yield_fixture(scope="function")
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment