-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
35 lines (32 loc) · 1.07 KB
/
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
build: false
branches:
only:
- master
- test
environment:
matrix:
- PYTHON: "C:/Python33"
- PYTHON: "C:/Python34"
- PYTHON: "C:/Python35"
- PYTHON: "C:/Python36"
init:
- "ECHO %PYTHON%"
- ps: "ls C:/Python*"
install:
#- ps: (new-object net.webclient).DownloadFile('https://raw.github.com/pypa/pip/master/contrib/get-pip.py', 'C:/get-pip.py')
#- "%PYTHON%/python.exe C:/get-pip.py"
#- "%PYTHON%/Scripts/pip.exe install --upgrade setuptools"
# Explicitly install pytest from NOT the wheel distribution to ensure it
# works with Python 2.7.
# See: https://github.com/pytest-dev/pytest/issues/749
# https://bitbucket.org/pytest-dev/pytest/issues/749/
- "%PYTHON%/python.exe -m pip install -U pip"
- "%PYTHON%/Scripts/pip.exe install -U setuptools pytest --no-binary all"
- "%PYTHON%/Scripts/pip.exe install ."
- "%PYTHON%/Scripts/pip.exe install -r dev_requirements.txt"
test_script:
- "set path=%PYTHON%/Scripts;%path%"
- "%PYTHON%/python.exe --version"
- "%PYTHON%/Scripts/pip.exe --version"
- "doit pyflakes"
- "py.test"