-
Notifications
You must be signed in to change notification settings - Fork 41
/
appveyor.yml
43 lines (35 loc) · 993 Bytes
/
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
34
35
36
37
38
39
40
41
42
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"