Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
70 lines (57 sloc) 1.99 KB
environment:
global:
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
# /E:ON and /V:ON options are not enabled in the batch script intepreter
# See: http://stackoverflow.com/a/13751649/163740
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\.misc\\run_with_env.cmd"
PIP_CACHE_DIR: C:\pip_cache
matrix:
- PYTHON: "C:\\Python34"
PYTHON_VERSION: "3.4.4"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python34-x64"
PYTHON_VERSION: "3.4.4"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
cache:
- "C:\\pip_cache"
- "node_modules"
- "C:\\Users\\appveyor\\AppData\\Local\\coala-bears\\coala-bears"
- "C:\\Users\\appveyor\\AppData\\Roaming\\nltk_data"
branches:
except:
- /^sils\/.*/
install:
# Prepend newly installed Python to the PATH of this build (this cannot be
# done from inside the powershell script as it would require to restart
# the parent CMD process).
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "SET PATH=%PATH%;C:\\Program\ Files\\Git\\mingw64\\bin"
# Check that we have the expected version and architecture for Python
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
- "%CMD_IN_ENV% python -m pip install --upgrade setuptools==21 pip==9"
- "%CMD_IN_ENV% python -m pip install -r test-requirements.txt \
-r requirements.txt -r docs-requirements.txt"
build: false # Not a C# project, build stuff at the test step instead.
test_script:
- "%CMD_IN_ENV% py.test"
- "%CMD_IN_ENV% python setup.py install"
- "%CMD_IN_ENV% python -m pip install \
git+https://github.com/coala/coala-bears"
- npm install csslint -g
# https://github.com/coala/coala/issues/5619
- rm docs/Developers/coala_settings.rst
- sed -i '/ShellCheckBear/d' .coafile
- "%CMD_IN_ENV% coala --ci"
on_success:
- codecov
on_failure:
- codecov
matrix:
fast_finish: true