Build wheels and keep 'em as artifacts in AppVeyor
@@ -13,11 +13,26 @@ install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "python -m pip install tox"
-build: off
-test_script: tox
+before_build:
+ - "python -m pip install wheel"
+
+build_script:
+ - python -m setup bdist_wheel
+
+test_script:
+ - tox
after_test:
- ps: |
$wc = New-Object 'System.Net.WebClient'
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\junit-test-results.xml))
+
+#deploy_script:
+# - ps: >-
+# if($env:appveyor_repo_tag -eq 'True') {
+# Invoke-Expression "python -m twine upload dist/* --username $env:PYPI_USERNAME --password $env:PYPI_PASSWORD"
+# }
+
+artifacts:
+ - path: dist\*
