forked from benoitc/gunicorn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable CI testing on Windows using Appveyor
Currently everything but the prospector lint job fails, however having CI set up makes it easier to see what work remains for benoitc#524. Fixes benoitc#1467.
- Loading branch information
1 parent
c171c15
commit 9e3dbd5
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
version: '{branch}.{build}' | ||
environment: | ||
matrix: | ||
- TOXENV: lint | ||
PYTHON: "C:\\Python35-x64" | ||
- TOXENV: py27 | ||
PYTHON: "C:\\Python27-x64" | ||
- TOXENV: py35 | ||
PYTHON: "C:\\Python35-x64" | ||
- TOXENV: py36 | ||
PYTHON: "C:\\Python36-x64" | ||
matrix: | ||
allow_failures: | ||
- TOXENV: py27 | ||
- TOXENV: py35 | ||
- TOXENV: py36 | ||
init: SET "PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" | ||
install: | ||
- pip install tox | ||
# Convert from Linux to Windows style paths to work around: | ||
# https://github.com/landscapeio/prospector/issues/203 | ||
- sed -i "s_/_\\\_g" .prospector.yaml | ||
build: off | ||
test_script: tox | ||
cache: | ||
# Not including the .tox directory since it takes longer to download/extract | ||
# the cache archive than for tox to clean install from the pip cache. | ||
- '%LOCALAPPDATA%\pip\Cache -> tox.ini' | ||
notifications: | ||
- provider: Email | ||
on_build_success: false | ||
on_build_status_changed: false |