forked from vaab/gitchangelog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor_yml.disabled
51 lines (41 loc) · 1.1 KB
/
appveyor_yml.disabled
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
# What Python version is installed where:
# http://www.appveyor.com/docs/installed-software#python
environment:
global:
PYTHONIOENCODING: utf-8
matrix:
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37"
- PYTHON: "C:\\Python37-x64"
- PYTHON: "C:\\Python38"
- PYTHON: "C:\\Python38-x64"
- PYTHON: "C:\\Python39"
- PYTHON: "C:\\Python39-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:
- pip install -e .[test,ci]
- pip install codecov
## Custom test script
test_script:
## Fail early on big problems
- "python src\\gitchangelog\\gitchangelog.py --debug"
- "python src\\gitchangelog\\gitchangelog.py --debug HEAD^^..HEAD"
## real tests
- nosetests -sx .
## installable
- pip install .
- gitchangelog --debug
- "gitchangelog HEAD^^..HEAD"
after_test:
- "codecov & REM #dovis: ignore"