From c50e80b2d3d96b445a2524357e43b87e0ad329db Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Tue, 18 Apr 2017 11:54:10 +0200 Subject: [PATCH 1/3] Setup appveyor --- appveyor.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..24f3dbe9 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,26 @@ +version: '{build}-{branch}' + +# Do not build feature branch with open Pull Requests +skip_branch_with_pr: true + +image: Visual Studio 2015 + +platform: x64 + +shallow_clone: true + + +environment: + matrix: + - PYTHON: "C:\\Python36-x64" + DISTUTILS_USE_SDK: "1" + - PYTHON: "C:\\Python35-x64" + DISTUTILS_USE_SDK: "1" + +install: + - "%PYTHON%\\python.exe -m pip install -r dev-requirements.txt" + +build: off + +test_script: + - "%PYTHON%\\python.exe -m pytest" From 25a992a87053a3a6250cf7d45d3ac0808b58d8bb Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Tue, 18 Apr 2017 12:20:04 +0200 Subject: [PATCH 2/3] Build only for Python 3.6 on Windows --- appveyor.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 24f3dbe9..26fc3a83 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,21 +1,14 @@ version: '{build}-{branch}' -# Do not build feature branch with open Pull Requests -skip_branch_with_pr: true - image: Visual Studio 2015 platform: x64 shallow_clone: true - environment: - matrix: - - PYTHON: "C:\\Python36-x64" - DISTUTILS_USE_SDK: "1" - - PYTHON: "C:\\Python35-x64" - DISTUTILS_USE_SDK: "1" + PYTHON: "C:\\Python36-x64" + DISTUTILS_USE_SDK: "1" install: - "%PYTHON%\\python.exe -m pip install -r dev-requirements.txt" From 722028b2d2b78b7a09a3ad3849f881f9127e2792 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Tue, 18 Apr 2017 12:27:54 +0200 Subject: [PATCH 3/3] Install win32 dependencies for the tests --- appveyor.yml | 1 + win-requirements.txt | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 win-requirements.txt diff --git a/appveyor.yml b/appveyor.yml index 26fc3a83..c933be78 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -12,6 +12,7 @@ environment: install: - "%PYTHON%\\python.exe -m pip install -r dev-requirements.txt" + - "%PYTHON%\\python.exe -m pip install -r win-requirements.txt" build: off diff --git a/win-requirements.txt b/win-requirements.txt new file mode 100644 index 00000000..5905e970 --- /dev/null +++ b/win-requirements.txt @@ -0,0 +1,3 @@ +-rrequirements.txt + +pypiwin32 # pyup: ignore