From f0ed21477f5d79640dcdda28c9d63fa678b1c31c Mon Sep 17 00:00:00 2001 From: Tomas Pazderka Date: Fri, 8 Dec 2017 20:10:15 +0100 Subject: [PATCH] Add build support for appveyor Close #409 --- .appveyor.yml | 26 ++++++++++++++++++++++++++ README.rst | 3 +++ 2 files changed, 29 insertions(+) create mode 100644 .appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 000000000..8ef8b5759 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,26 @@ +environment: + matrix: + - PYTHON: "C:\\Python27" + PYTHON_ARCH: "32" + - PYTHON: "C:\\Python27-x64" + PYTHON_ARCH: "64" + - PYTHON: "C:\\Python34" + PYTHON_ARCH: "32" + - PYTHON: "C:\\Python34-x64" + PYTHON_ARCH: "64" + - PYTHON: "C:\\Python35" + PYTHON_ARCH: "32" + - PYTHON: "C:\\Python35-x64" + PYTHON_ARCH: "64" + - PYTHON: "C:\\Python36" + PYTHON_ARCH: "32" + - PYTHON: "C:\\Python36-x64" + PYTHON_ARCH: "64" + +install: + - "%PYTHON%\\python.exe -m pip install .[testing]" + +build: off + +test_script: + - "%PYTHON%\\python.exe -m pytest tests/ -m \"not network\"" diff --git a/README.rst b/README.rst index 1b8a7060d..e8666744c 100644 --- a/README.rst +++ b/README.rst @@ -1,6 +1,9 @@ .. image:: https://api.travis-ci.org/OpenIDC/pyoidc.png?branch=master :target: https://travis-ci.org/OpenIDC/pyoidc +.. image:: https://ci.appveyor.com/api/projects/status/9kd2u37pi9n2wt63/branch/master?svg=true + :target: https://ci.appveyor.com/project/tpazderka/pyoidc/branch/master + .. image:: https://img.shields.io/pypi/pyversions/oic.svg :target: https://pypi.python.org/pypi/oic