From df5333e0e95201341a1cd80a3018fe8443312c21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20S=C3=A1nchez=20de=20Le=C3=B3n=20Peque?= Date: Tue, 20 Jun 2017 11:22:49 +0200 Subject: [PATCH] Add AppVeyor YAML configuration file --- appveyor.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..5dd1e42 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,29 @@ +build: false + +platform: + - x64 + +environment: + matrix: + - PYTHON_VERSION: 3.5 + MINICONDA_DIRNAME: C:\Miniconda3-x64 + +matrix: + fast_finish: false + +init: + - ECHO %PYTHON_VERSION% %MINICONDA_DIRNAME% + +install: + - cmd: set "PATH=%MINICONDA_DIRNAME%;%MINICONDA_DIRNAME%\\Scripts;%PATH%" + - cmd: conda config --set always_yes true + - cmd: conda update --quiet conda + - cmd: conda info --all + - cmd: conda create --quiet --name conda-env-%PYTHON_VERSION% python=%PYTHON_VERSION% + - cmd: activate conda-env-%PYTHON_VERSION% + - cmd: pip install --disable-pip-version-check --user --upgrade pip + - cmd: pip install -e . + - cmd: pip install pytest pytest-xdist + +test_script: + - cmd: pytest -n 8 -sv