2018-10-19 20:45:23 +03:00
|
|
|
clone_depth: 50
|
|
|
|
|
2016-07-22 21:50:42 +03:00
|
|
|
environment:
|
|
|
|
|
2018-03-21 16:54:34 +02:00
|
|
|
APPVEYOR: True
|
2019-02-07 16:28:29 +02:00
|
|
|
NETWORK_REQUIRED: True
|
2018-03-26 19:34:40 +03:00
|
|
|
CODECOV_ENV: APPVEYOR_JOB_NAME
|
2016-11-18 22:57:01 +02:00
|
|
|
|
2016-07-22 21:50:42 +03:00
|
|
|
matrix:
|
2018-04-12 21:04:53 +03:00
|
|
|
- APPVEYOR_JOB_NAME: "python36-x64"
|
|
|
|
PYTHON: "C:\\Python36-x64"
|
2018-03-26 19:34:40 +03:00
|
|
|
- APPVEYOR_JOB_NAME: "python27-x64"
|
|
|
|
PYTHON: "C:\\Python27-x64"
|
2016-07-22 21:50:42 +03:00
|
|
|
|
|
|
|
install:
|
2016-07-22 21:53:18 +03:00
|
|
|
# symlink python from a directory with a space
|
|
|
|
- "mklink /d \"C:\\Program Files\\Python\" %PYTHON%"
|
2016-07-22 21:50:42 +03:00
|
|
|
- "SET PYTHON=\"C:\\Program Files\\Python\""
|
|
|
|
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
|
|
|
|
|
|
|
build: off
|
|
|
|
|
2018-02-20 04:46:39 +02:00
|
|
|
cache:
|
|
|
|
- '%LOCALAPPDATA%\pip\Cache'
|
|
|
|
|
2016-07-22 21:50:42 +03:00
|
|
|
test_script:
|
2018-10-19 20:33:16 +03:00
|
|
|
- python --version
|
|
|
|
- python -m pip install --disable-pip-version-check --upgrade pip setuptools wheel
|
2019-05-14 17:58:09 +03:00
|
|
|
- pip install --upgrade tox tox-venv virtualenv
|
2018-10-19 20:33:16 +03:00
|
|
|
- pip freeze --all
|
|
|
|
- tox -- --cov
|
2018-03-21 16:54:34 +02:00
|
|
|
|
|
|
|
after_test:
|
|
|
|
- tox -e coverage,codecov
|
2018-01-05 15:18:43 +02:00
|
|
|
|
|
|
|
version: '{build}'
|