You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
578 B

language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
- nightly
matrix:
allow_failures:
- python: nightly
include:
- python: 2.7
env: SCA=true
- python: 3.5
env: SCA=true
install:
- if [ -z "$SCA" ]; then pip install --quiet coveralls; else echo skip; fi
- if [ -n "$SCA" ]; then python setup.py develop; else echo skip; fi
script:
- if [ -n "$SCA" ]; then yapf --diff --recursive . || exit; else echo skip; fi
- if [ -z "$SCA" ]; then nosetests --with-coverage --cover-package=yapf; else echo skip; fi
after_success:
- coveralls