mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-05-02 15:59:41 +08:00
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
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\*
|