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 |
Sebastian Hillig | ef23eae | 2016-12-29 18:17:50 +0100 | [diff] [blame] | 7 | - 3.6 |
Pawel Polewicz | 74f7de1 | 2016-05-26 13:01:25 +0200 | [diff] [blame] | 8 | - nightly |
| 9 | |
| 10 | matrix: |
| 11 | allow_failures: |
| 12 | - python: nightly |
Pawel Polewicz | 7328e4b | 2016-05-26 13:03:34 +0200 | [diff] [blame] | 13 | include: |
| 14 | - python: 2.7 |
| 15 | env: SCA=true |
| 16 | - python: 3.5 |
| 17 | env: SCA=true |
Eli Bendersky | 35d5dfc | 2015-03-20 15:11:40 -0700 | [diff] [blame] | 18 | |
Bill Wendling | 579f8b3 | 2015-04-05 02:20:06 -0700 | [diff] [blame] | 19 | install: |
Pawel Polewicz | 7328e4b | 2016-05-26 13:03:34 +0200 | [diff] [blame] | 20 | - 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 Wendling | 579f8b3 | 2015-04-05 02:20:06 -0700 | [diff] [blame] | 22 | |
Bill Wendling | 2e6c8d4 | 2015-04-05 02:13:42 -0700 | [diff] [blame] | 23 | script: |
Pawel Polewicz | 7328e4b | 2016-05-26 13:03:34 +0200 | [diff] [blame] | 24 | - 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 Wendling | 2e6c8d4 | 2015-04-05 02:13:42 -0700 | [diff] [blame] | 26 | |
| 27 | after_success: |
Andy Hayden | fca09e2 | 2015-04-16 22:47:11 -0700 | [diff] [blame] | 28 | - coveralls |