Skip to content

Commit d9159b9

Browse files
committed
Merge pull request #153 from asottile/appveyor_yml_improvement
More readable appveyor.yml
2 parents eb6f0e4 + c90777e commit d9159b9

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

appveyor.yml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,27 @@
1-
version: "{build}"
21
environment:
32
matrix:
4-
- PYTHON: "C:\\Python27"
5-
- PYTHON: "C:\\Python27-x64"
6-
- PYTHON: "C:\\Python34"
7-
- PYTHON: "C:\\Python34-x64"
8-
- PYTHON: "C:\\Python35"
9-
- PYTHON: "C:\\Python35-x64"
3+
- PYTHON: 'C:\Python27'
4+
- PYTHON: 'C:\Python27-x64'
5+
- PYTHON: 'C:\Python34'
6+
- PYTHON: 'C:\Python34-x64'
7+
- PYTHON: 'C:\Python35'
8+
- PYTHON: 'C:\Python35-x64'
109
matrix:
1110
fast_finish: true
1211
init:
13-
- "ECHO %PATH%"
14-
- "ECHO %PYTHON%"
15-
- ps: "ls C:/Python*"
12+
- ps: ls C:/Python*
13+
- 'SET PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%'
14+
- 'python -c "import os, pprint; pprint.pprint(sorted(os.environ.items()))"'
15+
# Use python -m pip when upgrading pip to avoid WindowsError: Access is denied
16+
- python -m pip install pip --upgrade
1617
install:
17-
- "git submodule update --init"
18-
- "%PYTHON%\\Scripts\\pip.exe --version"
19-
- "%PYTHON%\\Scripts\\pip.exe install -rrequirements-dev.txt wheel"
18+
- git submodule update --init
19+
- pip install wheel -rrequirements-dev.txt
2020
build: false
2121
test_script:
22-
- '%PYTHON%\\python.exe -c "import os, pprint; pprint.pprint(sorted(os.environ.items()))"'
23-
- "%PYTHON%\\python.exe -m pytest sasstests.py"
22+
- python -m pytest sasstests.py
2423
after_test:
25-
- "%PYTHON%\\python.exe setup.py bdist_wheel"
24+
- python setup.py bdist_wheel
2625
artifacts:
2726
- path: dist\*
2827
cache:

0 commit comments

Comments
 (0)