1language: python 2cache: pip 3matrix: 4 include: 5 - os: linux 6 dist: trusty 7 python: '2.6' 8 - os: linux 9 dist: trusty 10 python: '2.7' 11# unit test runner fails on tests import 12# - os: linux 13# dist: trusty 14# python: '3.2' 15# - os: linux 16# dist: trusty 17# python: '3.3' 18 - os: linux 19 dist: trusty 20 python: '3.4' 21 - os: linux 22 dist: trusty 23 python: '3.5' 24 - os: linux 25 dist: trusty 26 python: '3.6' 27 - os: linux 28 dist: xenial 29 python: '3.7' 30 - os: linux 31 dist: trusty 32 python: 'nightly' 33 - os: linux 34 dist: trusty 35 python: 'pypy' 36 - os: linux 37 dist: trusty 38 python: 'pypy3' 39install: 40 - pip install codecov 41 - pip install -r requirements.txt 42 - pip install -e . 43script: 44 - PYTHONPATH=.:$PYTHONPATH python tests/__main__.py 45after_success: 46 - PYTHONPATH=.:$PYTHONPATH coverage run --omit=*test* tests/__main__.py 47 - codecov 48