Permalink
Browse files

Add Appveyor support.

1 parent 92d8222 commit fad04932414328acc36b1ef6b3a2a4d628c4f46c @donnemartin committed Nov 21, 2015
Showing with 41 additions and 0 deletions.
  1. +41 −0 appveyor.yml
View
@@ -0,0 +1,41 @@
+# What Python version is installed where:
+# http://www.appveyor.com/docs/installed-software#python
+
+environment:
+ matrix:
+ - PYTHON: "C:\\Python27"
+ TOX_ENV: "py27"
+
+ - PYTHON: "C:\\Python33"
+ TOX_ENV: "py33"
+
+ - PYTHON: "C:\\Python34"
+ TOX_ENV: "py34"
+
+ - PYTHON: "C:\\Python35"
+ TOX_ENV: "py35"
+
+
+init:
+ - "%PYTHON%/python -V"
+ - "%PYTHON%/python -c \"import struct;print( 8 * struct.calcsize(\'P\'))\""
+
+install:
+ - "%PYTHON%/Scripts/easy_install -U pip"
+ - "%PYTHON%/Scripts/pip install tox"
+ - "%PYTHON%/Scripts/pip install wheel"
+
+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"
+
+artifacts:
+ - path: dist\*
+
+#on_success:
+# - TODO: upload the content of dist/*.whl to a public wheelhouse

0 comments on commit fad0493

Please sign in to comment.