forked from linkedin/shiv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
35 lines (26 loc) · 909 Bytes
/
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
environment:
matrix:
- PYTHON: "C:\\Python36-x64"
TOXENV: "py36"
- PYTHON: "C:\\Python37-x64"
TOXENV: "py37"
skip_branch_with_pr: true
install:
# prepend the current Python to the PATH
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
# check that we have the expected version and architecture for Python
- python --version
- python -c "import struct; print(struct.calcsize('P') * 8)"
# upgrade pip to avoid out-of-date warnings
- python -m pip install --disable-pip-version-check --upgrade pip
# install tox to run test suite in a virtual environment
- pip install tox
build: false
test_script:
- tox -e py
# TODO enable coveralls for Appveyor by setting secure COVERALLS_REPO_TOKEN
# https://github.com/coveralls-net/coveralls.net/wiki/CI-Integrations#appveyor
# on_success:
# # upload test coverage to Coveralls
# - pip install coveralls
# - coveralls