26 lines
519 B
YAML
26 lines
519 B
YAML
sudo: false
|
|
|
|
language: python
|
|
|
|
python:
|
|
- "2.7_with_system_site_packages"
|
|
|
|
env:
|
|
- TOX_ENV=py27
|
|
- TOX_ENV=flake8
|
|
- TOX_ENV=test
|
|
- TOX_ENV=eslint
|
|
- TOX_ENV=csslint
|
|
- TOX_ENV=tidy
|
|
|
|
install:
|
|
- "pip install tox"
|
|
|
|
script:
|
|
- "tox -e $TOX_ENV"
|
|
|
|
after_success:
|
|
# TODO: find a way to combine .py and .js coverage reports.
|
|
# - "if [ $TOX_ENV == 'py27' ]; then pip install coveralls; coveralls; fi"
|
|
- "if [ $TOX_ENV == 'test' ]; then cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js; fi"
|