diff --git a/appveyor.yml b/appveyor.yml index 3220eef3..a0b44062 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,28 +1,27 @@ -version: "{build}" environment: matrix: - - PYTHON: "C:\\Python27" - - PYTHON: "C:\\Python27-x64" - - PYTHON: "C:\\Python34" - - PYTHON: "C:\\Python34-x64" - - PYTHON: "C:\\Python35" - - PYTHON: "C:\\Python35-x64" + - PYTHON: 'C:\Python27' + - PYTHON: 'C:\Python27-x64' + - PYTHON: 'C:\Python34' + - PYTHON: 'C:\Python34-x64' + - PYTHON: 'C:\Python35' + - PYTHON: 'C:\Python35-x64' matrix: fast_finish: true init: -- "ECHO %PATH%" -- "ECHO %PYTHON%" -- ps: "ls C:/Python*" +- ps: ls C:/Python* +- 'SET PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%' +- 'python -c "import os, pprint; pprint.pprint(sorted(os.environ.items()))"' +# Use python -m pip when upgrading pip to avoid WindowsError: Access is denied +- python -m pip install pip --upgrade install: -- "git submodule update --init" -- "%PYTHON%\\Scripts\\pip.exe --version" -- "%PYTHON%\\Scripts\\pip.exe install -rrequirements-dev.txt wheel" +- git submodule update --init +- pip install wheel -rrequirements-dev.txt build: false test_script: -- '%PYTHON%\\python.exe -c "import os, pprint; pprint.pprint(sorted(os.environ.items()))"' -- "%PYTHON%\\python.exe -m pytest sasstests.py" +- python -m pytest sasstests.py after_test: -- "%PYTHON%\\python.exe setup.py bdist_wheel" +- python setup.py bdist_wheel artifacts: - path: dist\* cache: