add appveyor.yml
authorrobin <robin@reportlab.com>
Wed, 07 Jun 2017 16:27:45 +0100
changeset 58 4bc92ac25352
parent 57 6f29c9811820
child 59 2a02cecc87b9
add appveyor.yml
.hgignore
appveyor.yml
--- a/.hgignore	Fri Dec 23 15:34:29 2016 +0000
+++ b/.hgignore	Wed Jun 07 16:27:45 2017 +0100
@@ -38,3 +38,4 @@
 
 syntax: regexp
 ^MANIFEST$
+^test/xmltest
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/appveyor.yml	Wed Jun 07 16:27:45 2017 +0100
@@ -0,0 +1,38 @@
+environment:
+  global:
+    TWINE_USERNAME: MrRLBitBucket
+    TWINE_PASSWORD:
+      secure: yiBj0yWvcNAB7PEG0gVEFg==
+
+  matrix:
+    - python: 27
+    - python: 27-x64
+    - python: 33
+    - python: 33-x64
+    - python: 34
+    - python: 34-x64
+    - python: 35
+    - python: 35-x64
+    - python: 36
+    - python: 36-x64
+
+install:
+  - "SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH%"
+  - echo "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 > "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat"
+# - pip install -e .
+
+build_script:
+  - pip install wheel
+  - python -W ignore setup.py -q bdist_wheel
+
+#test_script:
+# - python setup.py test -q
+
+artifacts:
+  - path: 'dist\*.whl'
+    name: wheel
+
+deploy_script:
+  - ps: if ($env:APPVEYOR_REPO_TAG -eq $TRUE) { pip install twine; twine upload dist/* }
+
+deploy: off