From 2629fab649785c441eeed9401464153047ce5be4 Mon Sep 17 00:00:00 2001 From: Yun Xu Date: Sat, 10 Nov 2018 05:50:22 -0800 Subject: [PATCH] add .appveyor.yml for windows ci support --- .appveyor.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 00000000..75440426 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,37 @@ +version: "{branch}.{build}" + +environment: + matrix: + - TOXENV: py35-no-ext + PYTHON: "C:\\Python35-x64" + PYTHON_VERSION: "3.5.x" + PYTHON_ARCH: "64" + + - TOXENV: py36-no-ext + PYTHON: "C:\\Python36-x64" + PYTHON_VERSION: "3.6.x" + PYTHON_ARCH: "64" + + - TOXENV: py37-no-ext + PYTHON: "C:\\Python37-x64" + PYTHON_VERSION: "3.7.x" + PYTHON_ARCH: "64" + +init: SET "PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" + +install: + - pip install tox + +build: off + +test_script: tox + +cache: + # Not including the .tox directory since it takes longer to download/extract + # the cache archive than for tox to clean install from the pip cache. + - "%LOCALAPPDATA%\pip\Cache -> tox.ini" + +notifications: + - provider: Email + on_build_success: false + on_build_status_changed: false