From fe45705bc587ade090e64916d0dd07de1cc1164f Mon Sep 17 00:00:00 2001 From: Alastair Houghton Date: Mon, 12 Feb 2018 12:12:02 +0000 Subject: First try at Appveyor. --- README.rst | 10 ++++++++-- appveyor.yml | 20 ++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 appveyor.yml diff --git a/README.rst b/README.rst index dc6e132..97b7597 100644 --- a/README.rst +++ b/README.rst @@ -1,11 +1,17 @@ netifaces 0.10.6 ================ -.. image:: https://travis-ci.org/al45tair/netifaces.svg?branch=master ++-------------+------------------+ +| Linux/macOS | |BuildStatus| | ++-------------+------------------+ +| Windows | |WinBuildStatus| | ++-------------+------------------+ + +.. |BuildStatus| image:: https://travis-ci.org/al45tair/netifaces.svg?branch=master :target: https://travis-ci.org/al45tair/dmgbuild :alt: Build Status (Linux/Mac) -.. image:: https://ci.appveyor.com/api/projects/status/3ctn1bl0aigpfjoo/branch/master?svg=true +.. |WinBuildStatus| image:: https://ci.appveyor.com/api/projects/status/3ctn1bl0aigpfjoo/branch/master?svg=true :target: https://ci.appveyor.com/project/al45tair/netifaces/branch/master :alt: Build Status (Windows) diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..0946417 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,20 @@ +environment: + + matrix: + - PYTHON: "C:\\Python27" + - PYTHON: "C:\\Python36" + - PYTHON: "C:\\Python36-x64" + +install: + - "%PYTHON%\\python.exe -m pip install wheel ." + +build: off + +test_script: + - "%PYTHON%\\python.exe test.py" + +after_test: + - "%PYTHON%\\python.exe setup.py bdist_wheel" + +artifacts: + - path: dist\* -- cgit v1.2.1