summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2017-10-08 11:42:26 -0700
committerGitHub <noreply@github.com>2017-10-08 11:42:26 -0700
commitb6be91f51a2a89427f4fd21e4c4a1023a2864880 (patch)
tree4c5291535cc991f2eee820e1c0d6a0dafc839bbf
parented71095180b6d7768cfd23b1842a3dbfda209c14 (diff)
parentde093d0eca6d2f0e6105f83645e1e8306dcb7585 (diff)
downloadmarkupsafe-b6be91f51a2a89427f4fd21e4c4a1023a2864880.tar.gz
Merge pull request #81 from davidism/wheel26
wheel==0.29 for Python 2.6
-rw-r--r--appveyor.yml42
1 files changed, 9 insertions, 33 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 99e77a0..3301365 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,27 +1,26 @@
-### ----------------------
-### General Configuration
-### ----------------------
-
environment:
- # Set a global environment variable that points to the `pip` command.
- # The Python26 builds overwrite this variable because it needs
- # `python -m module.__main__` rather than just `python -m module`.
- # See http://stackoverflow.com/a/9407178/1354930
global:
+ WHEEL_VERSION: "wheel" # 2.6, 3.3 need ==0.29
+ # pip module, 2.6 needs .__main__, https://stackoverflow.com/a/9407178
PIP: "pip"
TOX: "tox"
+ TOXENV: "py"
matrix:
- PYTHON: "C:\\Python26"
+ WHEEL_VERSION: "wheel==0.29"
PIP: "pip.__main__"
TOX: "tox.__main__"
- PYTHON: "C:\\Python26-x64"
+ WHEEL_VERSION: "wheel==0.29"
PIP: "pip.__main__"
TOX: "tox.__main__"
- PYTHON: "C:\\Python27"
- PYTHON: "C:\\Python27-x64"
- PYTHON: "C:\\Python33"
+ WHEEL_VERSION: "wheel==0.29"
- PYTHON: "C:\\Python33-x64"
+ WHEEL_VERSION: "wheel==0.29"
- PYTHON: "C:\\Python34"
- PYTHON: "C:\\Python34-x64"
- PYTHON: "C:\\Python35"
@@ -30,40 +29,17 @@ environment:
- PYTHON: "C:\\Python36-x64"
install:
- # Check that we have the expected version and architecture for Python
- "%PYTHON%\\python.exe --version"
-
- # install dependencies
-
- - "%PYTHON%\\python.exe -m %PIP% install --upgrade pip wheel"
- - "%PYTHON%\\python.exe -m %PIP% install tox"
+ - "%PYTHON%\\python.exe -m %PIP% install -U pip setuptools %WHEEL_VERSION% tox"
build: off # Not a C# project, build stuff at the test step instead.
test_script:
- # Run the project tests
- - "%PYTHON%\\python.exe -m %TOX% -e py"
+ - "%PYTHON%\\python.exe -m %TOX%"
after_test:
- # if tests OK, create whl package
- "%PYTHON%\\python.exe setup.py bdist_wheel"
artifacts:
- # Upload the wheel and EXE to AppVeyor
- path: dist\*.whl
type: whl
-
-# This is left to the package maintainer to update with the secure tokens.
-# See https://www.appveyor.com/docs/deployment/github/
-# and https://www.appveyor.com/docs/build-configuration/#secure-variables
-#deploy:
-# - provider: GitHub
-# auth_token:
-# secure: <your encrypted token> # encrypted github token
-# release: $APPVEYOR_REPO_TAG_NAME
-# artifact: /.*\.whl/ # upload all the wheels.
-# draft: false
-# prerelease: false
-# on:
-# branch: master # release from master branch only
-# appveyor_repo_tag: true # deploy only on tags