forked from WeblateOrg/weblate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
43 lines (33 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
version: "{build}"
clone_depth: 100
environment:
matrix:
# For Python versions available on Appveyor, see
# http://www.appveyor.com/docs/installed-software#python
# The list here is complete (excluding Python 2.6, which
# isn't covered by this document) at the time of writing.
- PYTHON: "C:\\Python27"
# - PYTHON: "C:\\Python34"
# - PYTHON: "C:\\Python35"
# - PYTHON: "C:\\Python35-x64"
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
# We need wheel installed to build wheels
- "python.exe -m pip install wheel"
# lxml 3.6.0 has binaries built for Windows
- "python.exe -m pip install lxml==3.6.0"
- "python.exe -m pip install -r requirements-optional.txt"
- "python.exe -m pip install -r ci/requirements-travis.txt"
build: off
test_script:
- "python.exe manage.py collectstatic --settings weblate.settings_test --noinput"
- "python.exe manage.py check --settings weblate.settings_test"
- "coverage run ./manage.py test --settings weblate.settings_test -v2"
after_test:
- "coverage combine"
- "coverage xml"
- "codecov"
- "python.exe setup.py bdist_wheel"
artifacts:
# bdist_wheel puts your built wheel in the dist directory
- path: dist\*