-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
48 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
environment:
matrix:
- PYTHON_VERSION: "27"
NODEJS_VERSION: "4.6"
BROWSER: "PhantomJS"
- PYTHON_VERSION: "33"
NODEJS_VERSION: "4.6"
BROWSER: "Firefox"
- PYTHON_VERSION: "34"
NODEJS_VERSION: "6.9"
BROWSER: "PhantomJS"
- PYTHON_VERSION: "35"
NODEJS_VERSION: "6.9"
BROWSER: "Firefox"
- PYTHON_VERSION: "36"
NODEJS_VERSION: "7.4"
BROWSER: "IE"
matrix:
allow_failures:
- BROWSER: "IE"
install:
- "SET PATH=C:\\PYTHON%PYTHON_VERSION%\\Scripts;%PATH%"
- "SET PATH=C:\\PYTHON%PYTHON_VERSION%;%PATH%"
- ps: Install-Product node $env:NODEJS_VERSION
- pip install virtualenv
- virtualenv --clear venv
- "venv\\Scripts\\activate.bat"
- pip install coverage calmjs
- pip install flask
- pip install -e git+https://github.com/calmjs/nunja.git#egg=nunja
- python setup.py develop
- ps: >-
if ($env:PYTHON_VERSION -ge '35') {
# as uvloop is NOT available on Windows, we use an older version
# of sanic
pip install sanic==0.4.1 aiohttp;
}
test_script:
- coverage run --include=src\* -m unittest nunja.serve.tests.make_suite
- coverage report -m
artifacts:
- path: dist\*
build: off