From a809927fd6c6fc4c7583b2dc4d1a2bd026e73bed Mon Sep 17 00:00:00 2001 From: Benedek Racz Date: Wed, 4 Sep 2019 10:54:24 +0200 Subject: [PATCH] [TEST] add CI test: appveyor and travis SH --- .travis.yml | 17 ++++++++++------- appveyor.yml | 9 +++++++++ 2 files changed, 19 insertions(+), 7 deletions(-) create mode 100644 appveyor.yml diff --git a/.travis.yml b/.travis.yml index 6b3aa2a..b0f4f0a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,14 @@ dist: xenial # required for Python >= 3.7 -language: python -python: - - "3.5" - - "3.6" - - "3.7" - -os: windows +matrix: + include: + - os: windows + language: sh + python: "3.7" + before_install: + - choco install python3 + - export PATH="/c/Python37:/c/Python37/Scripts:$PATH" + - virtualenv $HOME/venv + - source $HOME/venv/Scripts/activate # command to install dependencies install: diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..f724f52 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,9 @@ +# appveyor.yml +--- +build: off + +install: +- pip install .[test] + +test_script: +- coverage run -m unittest