py-setuptools/appveyor.yml

37 lines
795 B
YAML
Raw Permalink Normal View History

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
CODECOV_ENV: APPVEYOR_JOB_NAME
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"
- APPVEYOR_JOB_NAME: "python27-x64"
PYTHON: "C:\\Python27-x64"
2016-07-22 21:50:42 +03:00
install:
# 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:
- python --version
- python -m pip install --disable-pip-version-check --upgrade pip setuptools wheel
- pip install --upgrade tox tox-venv virtualenv
- pip freeze --all
- tox -- --cov
2018-03-21 16:54:34 +02:00
after_test:
- tox -e coverage,codecov
version: '{build}'