-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new: pkg: added windows tests thanks to
appveyor
.
- Loading branch information
Showing
2 changed files
with
47 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
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,43 @@ | ||
# What Python version is installed where: | ||
# http://www.appveyor.com/docs/installed-software#python | ||
|
||
environment: | ||
global: | ||
PYTHONIOENCODING: utf-8 | ||
matrix: | ||
- PYTHON: "C:\\Python27" | ||
- PYTHON: "C:\\Python27-x64" | ||
- PYTHON: "C:\\Python34" | ||
- PYTHON: "C:\\Python34-x64" | ||
- PYTHON: "C:\\Python35" | ||
- PYTHON: "C:\\Python35-x64" | ||
- PYTHON: "C:\\Python36" | ||
- PYTHON: "C:\\Python36-x64" | ||
|
||
## Before repo cloning | ||
init: | ||
## without this, temporary directory could be created in current dir | ||
## which will make some tests fail. | ||
- mkdir C:\TMP | ||
- set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH% | ||
- python -V | ||
|
||
## After repo cloning | ||
install: | ||
|
||
build: false | ||
|
||
## Before tests | ||
before_test: | ||
- for /f %%i in ('bash .\autogen.sh --get-name') do set PACKAGE_NAME=%%i | ||
- python setup.py develop easy_install %PACKAGE_NAME%[test] | ||
- pip install coverage codecov | ||
|
||
## Custom test script | ||
test_script: | ||
|
||
## real tests | ||
- nosetests -sx . | ||
|
||
after_test: | ||
- "codecov & REM #dovis: ignore" |