-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
33 lines (28 loc) · 1.03 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
environment:
matrix:
# http://www.appveyor.com/docs/installed-software#python
- PYTHON: "C:\\Python27"
- PYTHON: "C:\\Python33"
- PYTHON: "C:\\Python34"
- PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python27-x64"
- PYTHON: "C:\\Python33-x64"
- PYTHON: "C:\\Python34-x64"
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "pypy"
install:
- if "%PYTHON%" == "pypy" choco install python.pypy
- if "%PYTHON%" == "pypy" %ChocolateyInstall%\bin\pypy -m ensurepip
- if "%PYTHON%" == "pypy" %ChocolateyInstall%\bin\pypy -m pip install wheel pytest
- if "%PYTHON%" NEQ "pypy" %PYTHON%\python.exe -m pip install wheel pytest
build: off
test_script:
- if "%PYTHON%" == "pypy" %ChocolateyInstall%\bin\pypy -m pytest
- if "%PYTHON%" NEQ "pypy" %PYTHON%\python.exe -m pytest
after_test:
- if "%PYTHON%" == "pypy" %ChocolateyInstall%\bin\pypy setup.py bdist_wheel
- if "%PYTHON%" NEQ "pypy" %PYTHON%\python.exe setup.py bdist_wheel
artifacts:
- path: dist\*