forked from tehp/OpenPoGoBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
35 lines (28 loc) · 825 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
environment:
matrix:
- PYTHON: "C:\\Python27"
PYTHON_VERSION: "2.7"
RUN: "%PYTHON%\\python"
PIP: "%PYTHON%\\Scripts\\pip"
COV: "%PYTHON%\\Scripts\\coverage"
- PYTHON: "C:\\Python35"
PYTHON_VERSION: "3.5"
RUN: "%PYTHON%\\python"
PIP: "%PYTHON%\\Scripts\\pip"
COV: "%PYTHON%\\Scripts\\coverage"
cache: C:\Users\appveyor\pip
matrix:
fast_finish: true
install:
- "ECHO %PYTHON% %PYTHON_VERSION%%APPVEYOR_BUILD_FOLDER%"
- "set HOME=%APPVEYOR_BUILD_FOLDER%"
- "%PIP% install -r requirements.txt"
- "%PIP% install -r requirements-dev.txt"
- "cd %HOME%"
test: off
build_script:
- "%RUN% -m pylint -j 2 pokecli.py pokemongo_bot plugins api"
- "%RUN% -m pytest -n 2 --cov=pokemongo_bot --cov=plugins pokemongo_bot/ plugins/"
branches:
only:
- master