forked from kivy/plyer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
38 lines (28 loc) · 904 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
36
37
38
version: 1.0.{build}
environment:
matrix:
- PY: 27
- PY: 36
- PEP8: 1
install:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-desktop.ps1'))
build_script:
- cmd:
if "%PY%"=="27" (
set PYTHON=C:\Python27\python.exe
) else (
set PYTHON=C:\Python36\python.exe
)
%PYTHON% -m pip install C:\projects\plyer\.
%PYTHON% -m pip install nose pycodestyle
echo Plyer version is
%PYTHON% -c "import plyer;print(plyer.__version__)"
if "%PEP8%"=="1" (
cd C:\projects\plyer &
%PYTHON% -m pycodestyle "%cd%"
--exclude=pep8.py,compat.py,utils.py
--ignore=E402
)
%PYTHON% C:\projects\plyer\plyer\tests\dummy_setup.py
%PYTHON% -m nose.core C:\projects\plyer\plyer\tests
%PYTHON% C:\projects\plyer\plyer\tests\dummy_teardown.py