summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul "TBBle" Hampson <Paul.Hampson@Pobox.com>2017-02-14 20:52:46 +1100
committerPaul "TBBle" Hampson <Paul.Hampson@Pobox.com>2017-02-14 20:52:46 +1100
commitdda29bc8b44f13d3bab371b0352e2cdc4d143e90 (patch)
tree5ff563872f18838cc35b4fbdca6fd43f856a1542
parent3643d0fa361cad9bf81405d9e542db953659fb1d (diff)
downloadpython-lxml-dda29bc8b44f13d3bab371b0352e2cdc4d143e90.tar.gz
Add Python 2.6 to the AppVeyor build
Python 2.6 cannot run packages with "-m", and you cannot upgrade pip while running the pip.exe script. So we must open-code the Python 2.7+ behaviour of the -m option.
-rw-r--r--.appveyor.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index cc64b9f2..e74bb1f6 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -2,6 +2,7 @@ version: 1.0.{build}
environment:
matrix:
+ - python: 26
- python: 27
- python: 35
- python: 35-x64
@@ -10,7 +11,7 @@ environment:
install:
- SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH%
- - python -m pip install -U pip wheel setuptools
+ - python -m pip.__main__ install -U pip wheel setuptools
- pip install -r requirements.txt --install-option="--no-cython-compile"
build: off