Skip to content

Commit

Permalink
Add appveyor.yml config
Browse files Browse the repository at this point in the history
  • Loading branch information
chocoelho committed May 18, 2018
1 parent 6522182 commit da02f66
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit da02f66

Please sign in to comment.