boltons/appveyor.yml

51 lines
1.3 KiB
YAML
Raw Normal View History

2016-05-22 23:44:57 +00:00
# What Python version is installed where:
# http://www.appveyor.com/docs/installed-software#python
# This configuration based on:
# https://github.com/audreyr/cookiecutter/commit/3c4685f536afda3be93da3fe3039cec0ab0d60a3
branches:
except:
- function_builder
2016-05-22 23:44:57 +00:00
environment:
matrix:
- PYTHON: "C:\\Python27-x64"
TOX_ENV: "py27"
2018-10-10 09:02:25 +00:00
- PYTHON: "C:\\Python37-x64"
TOX_ENV: "py37"
2016-05-22 23:44:57 +00:00
init:
- set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
- "git config --system http.sslcainfo \"C:\\Program Files\\Git\\mingw64\\ssl\\certs\\ca-bundle.crt\""
- "%PYTHON%/python -V"
- "%PYTHON%/python -c \"import struct;print(8 * struct.calcsize(\'P\'))\""
install:
- "%PYTHON%/Scripts/easy_install -U pip"
2018-10-10 09:41:04 +00:00
- "%PYTHON%/Scripts/pip install tox wheel"
2016-05-22 23:44:57 +00:00
build: false # Not a C# project, build stuff at the test step instead.
test_script:
- "%PYTHON%/Scripts/tox -e %TOX_ENV%"
after_test:
- "%PYTHON%/python setup.py bdist_wheel"
- ps: "ls dist"
on_success:
# Report coverage results to codecov.io
# and export tox environment variables
- "%PYTHON%/Scripts/pip install codecov"
- set OS=WINDOWS
- "%PYTHON%/Scripts/codecov -e TOX_ENV OS"
artifacts:
- path: dist\*
#on_success:
# - TODO: upload the content of dist/*.whl to a public wheelhouse