blob: 1d905185d2502ba92a6222f911d66679c3cd74fe [file] [log] [blame]
Bill Wendlingb28c35b2015-03-18 14:06:09 -07001language: python
Bill Wendling579f8b32015-04-05 02:20:06 -07002
Bill Wendlingb28c35b2015-03-18 14:06:09 -07003python:
Pawel Polewicz74f7de12016-05-26 13:01:25 +02004 - 2.7
5 - 3.4
6 - 3.5
Sebastian Hilligef23eae2016-12-29 18:17:50 +01007 - 3.6
Pawel Polewicz74f7de12016-05-26 13:01:25 +02008 - nightly
9
10matrix:
11 allow_failures:
12 - python: nightly
Pawel Polewicz7328e4b2016-05-26 13:03:34 +020013 include:
14 - python: 2.7
15 env: SCA=true
16 - python: 3.5
17 env: SCA=true
Eli Bendersky35d5dfc2015-03-20 15:11:40 -070018
Bill Wendling579f8b32015-04-05 02:20:06 -070019install:
Pawel Polewicz7328e4b2016-05-26 13:03:34 +020020 - if [ -z "$SCA" ]; then pip install --quiet coveralls; else echo skip; fi
21 - if [ -n "$SCA" ]; then python setup.py develop; else echo skip; fi
Bill Wendling579f8b32015-04-05 02:20:06 -070022
Bill Wendling2e6c8d42015-04-05 02:13:42 -070023script:
Pawel Polewicz7328e4b2016-05-26 13:03:34 +020024 - if [ -n "$SCA" ]; then yapf --diff --recursive . || exit; else echo skip; fi
25 - if [ -z "$SCA" ]; then nosetests --with-coverage --cover-package=yapf; else echo skip; fi
Bill Wendling2e6c8d42015-04-05 02:13:42 -070026
27after_success:
Andy Haydenfca09e22015-04-16 22:47:11 -070028 - coveralls