From 9c8cac25dc73a05d4492d58e29112a93739934af Mon Sep 17 00:00:00 2001 From: David Genest Date: Mon, 27 Mar 2017 16:31:09 -0400 Subject: [PATCH 1/3] initial appveyor support --- .appveyor.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 000000000..e93d139c7 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,19 @@ +environment: + + matrix: + #- TOXENV: py27-pip8 + - TOXENV: py27-pip9 + #- TOXENV: py27-piplatest + #- TOXENV: py34-pip8 + - TOXENV: py34-pip9 + #- TOXENV: py34-piplatest + - TOXENV: py35-pip9 + - TOXENV: py36-pip9 + +install: + - C:\Python36\\python -m pip install tox + +build: false + +test_script: + - C:\Python36\Scripts\tox From 4b159d76575c861b369e8502e25c4b29fdb6845a Mon Sep 17 00:00:00 2001 From: David Genest Date: Tue, 28 Mar 2017 09:05:58 -0400 Subject: [PATCH 2/3] activate all build flavors --- .appveyor.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index e93d139c7..164e52319 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,17 +1,21 @@ environment: matrix: - #- TOXENV: py27-pip8 + - TOXENV: py27-pip8 - TOXENV: py27-pip9 - #- TOXENV: py27-piplatest - #- TOXENV: py34-pip8 + - TOXENV: py27-piplatest + - TOXENV: py34-pip8 - TOXENV: py34-pip9 - #- TOXENV: py34-piplatest + - TOXENV: py34-piplatest - TOXENV: py35-pip9 + - TOXENV: py35-pip8 + - TOXENV: py35-piplatest - TOXENV: py36-pip9 + - TOXENV: py36-pip8 + - TOXENV: py36-piplatest install: - - C:\Python36\\python -m pip install tox + - C:\Python36\python -m pip install tox build: false From fd454c0d3bca9eaec6b1c651ea1e7d9a1acb6e6b Mon Sep 17 00:00:00 2001 From: David Genest Date: Tue, 28 Mar 2017 09:31:55 -0400 Subject: [PATCH 3/3] use pip module invocation for uninstall resiliency on Windows --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 053a22810..50fb53811 100644 --- a/tox.ini +++ b/tox.ini @@ -8,6 +8,7 @@ deps = pip9: pip~=9.0 coverage pytest +install_command= python -m pip install {opts} {packages} commands = pip --version python -m coverage run --source piptools -m pytest --strict {posargs:tests/}