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: bionic 32 python: '3.8' 33 - os: linux 34 dist: trusty 35 python: 'nightly' 36 - os: linux 37 dist: trusty 38 python: 'pypy' 39 - os: linux 40 dist: trusty 41 python: 'pypy3' 42install: 43 - pip install codecov 44 - pip install -r requirements.txt 45 - pip install -e . 46script: 47 - PYTHONPATH=.:$PYTHONPATH python tests/__main__.py 48after_success: 49 - PYTHONPATH=.:$PYTHONPATH coverage run --omit=*test* tests/__main__.py 50 - codecov 51