2017-06-20 21:45:49 +02:00
|
|
|
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:\\Python35"
|
|
|
|
- PYTHON: "C:\\Python36"
|
2018-10-01 20:50:44 +02:00
|
|
|
- PYTHON: "C:\\Python37"
|
2017-06-20 21:45:49 +02:00
|
|
|
|
2017-09-14 17:54:00 +02:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2018-10-01 11:46:48 +02:00
|
|
|
- /^[vV]\d+$/
|
2017-09-14 17:54:00 +02:00
|
|
|
|
|
|
|
skip_branch_with_pr: true
|
|
|
|
|
|
|
|
max_jobs: 1
|
|
|
|
|
2017-06-20 21:45:49 +02:00
|
|
|
install:
|
2017-09-14 17:54:00 +02:00
|
|
|
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
2017-06-20 21:45:49 +02:00
|
|
|
- "git submodule update --init --recursive"
|
2017-09-14 17:54:00 +02:00
|
|
|
# Check that we have the expected version and architecture for Python
|
|
|
|
- "python --version"
|
|
|
|
# We need wheel installed to build wheels
|
2019-10-11 20:01:25 +02:00
|
|
|
# fix TypeError from an old version of this
|
|
|
|
- "pip install attrs==17.4.0"
|
2017-09-14 17:54:00 +02:00
|
|
|
- "pip install -U codecov pytest-cov"
|
|
|
|
- "pip install -r requirements.txt"
|
|
|
|
- "pip install -r requirements-dev.txt"
|
2017-06-20 21:45:49 +02:00
|
|
|
|
|
|
|
build: off
|
|
|
|
|
|
|
|
test_script:
|
2019-10-11 20:01:25 +02:00
|
|
|
- "pytest --version"
|
2017-09-14 17:54:00 +02:00
|
|
|
- "pytest -m \"not nocoverage\" --cov --cov-report xml:coverage.xml"
|
|
|
|
|
|
|
|
after_test:
|
|
|
|
- "codecov -f coverage.xml -F Appveyor"
|