-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
52 lines (43 loc) · 1.19 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# 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 .
## installable
- python setup.py install
- "python -c \"import kids.cache\""
after_test:
- "codecov & REM #dovis: ignore"
- |
IF DEFINED DOVIS IF DEFINED ARTIFACT_DIR (
cp .coverage %ARTIFACT_DIR%
echo %cd% > %ARTIFACT_DIR%/cover_path
)