PYTHON-1548 - Add a simple Appveyor config

This commit is contained in:
Bernie Hackett 2018-06-26 10:37:35 -04:00
parent ccbd857838
commit bc5a6e0557

27
appveyor.yml Normal file
View File

@ -0,0 +1,27 @@
environment:
matrix:
# For Python versions available on Appveyor, see
# http://www.appveyor.com/docs/installed-software#python
# Though we support Python 3.4 we're not testing it here.
# Testing it requires extra work that doesn't seem necessary
# since we already test it in Evergreen.
# See https://packaging.python.org/guides/supporting-windows-using-appveyor/#support-script
# Test both 32 and 64bit builds.
- PYTHON: "C:\\Python27"
- PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python27-x64"
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"
build: off
test_script:
# We just want to test C extension builds for pull requests.
# No need for a running MongoDB instance.
- "%PYTHON%\\python.exe setup.py test"