diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 000000000..f348990d3 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,35 @@ +# References: +# - https://packaging.python.org/appveyor/ +# - https://github.com/cloudify-cosmo/appveyor-utils + +environment: + + matrix: + + # For Python versions available on Appveyor, see + # http://www.appveyor.com/docs/installed-software#python + + - PYTHON: "C:\\Python33" + - PYTHON: "C:\\Python34" + - PYTHON: "C:\\Python35" + - PYTHON: "C:\\Python33-x64" + - PYTHON: "C:\\Python34-x64" + - PYTHON: "C:\\Python35-x64" + +build: off + +before_test: + - "%PYTHON%\\python.exe -m pip install tox-travis" + +test_script: + # Note that you must use the environment variable %PYTHON% to refer to + # the interpreter you're using - Appveyor does not do anything special + # to put the Python version you want to use on PATH. + - "%PYTHON%\\python.exe setup.py test" + +after_test: + # This step builds your wheels. + # Again, you only need build.cmd if you're building C extensions for + # 64-bit Python 3.3/3.4. And you need to use %PYTHON% to get the correct + # interpreter + - "build.cmd %PYTHON%\\python.exe -m tox"