Bill Wendling | b28c35b | 2015-03-18 14:06:09 -0700 | [diff] [blame] | 1 | language: python |
Bill Wendling | 579f8b3 | 2015-04-05 02:20:06 -0700 | [diff] [blame] | 2 | |
Bill Wendling | b28c35b | 2015-03-18 14:06:09 -0700 | [diff] [blame] | 3 | python: |
Pawel Polewicz | 74f7de1 | 2016-05-26 13:01:25 +0200 | [diff] [blame] | 4 | - 2.7 |
| 5 | - 3.4 |
| 6 | - 3.5 |
| 7 | - nightly |
| 8 | |
| 9 | matrix: |
| 10 | allow_failures: |
| 11 | - python: nightly |
Pawel Polewicz | 7328e4b | 2016-05-26 13:03:34 +0200 | [diff] [blame^] | 12 | include: |
| 13 | - python: 2.7 |
| 14 | env: SCA=true |
| 15 | - python: 3.5 |
| 16 | env: SCA=true |
Eli Bendersky | 35d5dfc | 2015-03-20 15:11:40 -0700 | [diff] [blame] | 17 | |
Bill Wendling | 579f8b3 | 2015-04-05 02:20:06 -0700 | [diff] [blame] | 18 | install: |
Pawel Polewicz | 7328e4b | 2016-05-26 13:03:34 +0200 | [diff] [blame^] | 19 | - if [ -z "$SCA" ]; then pip install --quiet coveralls; else echo skip; fi |
| 20 | - if [ -n "$SCA" ]; then python setup.py develop; else echo skip; fi |
Bill Wendling | 579f8b3 | 2015-04-05 02:20:06 -0700 | [diff] [blame] | 21 | |
Bill Wendling | 2e6c8d4 | 2015-04-05 02:13:42 -0700 | [diff] [blame] | 22 | script: |
Pawel Polewicz | 7328e4b | 2016-05-26 13:03:34 +0200 | [diff] [blame^] | 23 | - if [ -n "$SCA" ]; then yapf --diff --recursive . || exit; else echo skip; fi |
| 24 | - if [ -z "$SCA" ]; then nosetests --with-coverage --cover-package=yapf; else echo skip; fi |
Bill Wendling | 2e6c8d4 | 2015-04-05 02:13:42 -0700 | [diff] [blame] | 25 | |
| 26 | after_success: |
Andy Hayden | fca09e2 | 2015-04-16 22:47:11 -0700 | [diff] [blame] | 27 | - coveralls |