From da02f66784bb396dc0c8758617d8164c3a0cc3a6 Mon Sep 17 00:00:00 2001 From: Carlos Coelho Date: Fri, 18 May 2018 14:37:54 -0300 Subject: [PATCH] Add appveyor.yml config --- appveyor.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..a9384968 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,40 @@ +environment: + matrix: + - PYTHON: "C:\\Python27" + - PYTHON: "C:\\Python33" + - PYTHON: "C:\\Python34" + - PYTHON: "C:\\Python35" + - PYTHON: "C:\\Python27-x64" + - PYTHON: "C:\\Python33-x64" + DISTUTILS_USE_SDK: "1" + - PYTHON: "C:\\Python34-x64" + DISTUTILS_USE_SDK: "1" + - PYTHON: "C:\\Python35-x64" + - PYTHON: "C:\\Python36-x64" + +init: + - "git config --system core.longpaths true" + +install: + - "%PYTHON%\\python.exe -m pip install nose coverage coveralls" + - "%PYTHON%\\python.exe -m pip install git+https://github.com/landscapeio/pylint-plugin-utils.git@develop" + - "%PYTHON%\\python.exe -m pip install git+https://github.com/landscapeio/pylint-common.git@develop" + - "%PYTHON%\\python.exe -m pip install git+https://github.com/landscapeio/pylint-celery.git@develop" + - "%PYTHON%\\python.exe -m pip install git+https://github.com/landscapeio/pylint-django.git@develop" + - "%PYTHON%\\python.exe -m pip install git+https://github.com/landscapeio/requirements-detector.git@develop" + - "%PYTHON%\\python.exe -m pip install git+https://github.com/yaml/pyyaml.git@master" + - "%PYTHON%\\python.exe -m pip install --editable ." + +build: off + +test_script: + - "build.cmd %PYTHON%\\python.exe setup.py test" + - "build.cmd %PYTHON%\\nosetests.exe -s --with-coverage --cover-inclusive --cover-package=prospector tests/" + - "build.cmd %PYTHON%\\mv .coverage .coverage.x" + - "build.cmd %PYTHON%\\python.exe -m pip install -e .[with_everything]" + - "build.cmd %PYTHON%\\coverage.exe run --parallel-mode prospector/run.py || true" + - "build.cmd %PYTHON%\\coverage.exe combine" + - "build.cmd %PYTHON%\\coverage.exe report --show-missing" + +on_success: + - "build.cmd %PYTHON%\\coveralls.exe"