blob: 94d7ad58c99371581145791c46ca6d8d12df1836 [file] [log] [blame]
Ilya Etingof09f18c62016-03-12 09:32:58 +01001language: python
Ilya Etingofac6ae3f2018-06-28 08:43:55 +02002cache: pip
Ilya Etingof7e6f7582018-06-29 08:28:05 +02003matrix:
4 include:
5 - os: linux
Ilya Etingofa91c27a2018-12-29 21:57:01 +01006 dist: trusty
Ilya Etingof7e6f7582018-06-29 08:28:05 +02007 python: '2.6'
8 - os: linux
Ilya Etingofa91c27a2018-12-29 21:57:01 +01009 dist: trusty
Ilya Etingof7e6f7582018-06-29 08:28:05 +020010 python: '2.7'
Ilya Etingof25403b22019-07-20 13:36:45 +020011# 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'
Ilya Etingof7e6f7582018-06-29 08:28:05 +020018 - os: linux
Ilya Etingofa91c27a2018-12-29 21:57:01 +010019 dist: trusty
Ilya Etingof7e6f7582018-06-29 08:28:05 +020020 python: '3.4'
21 - os: linux
Ilya Etingofa91c27a2018-12-29 21:57:01 +010022 dist: trusty
Ilya Etingof7e6f7582018-06-29 08:28:05 +020023 python: '3.5'
24 - os: linux
Ilya Etingofa91c27a2018-12-29 21:57:01 +010025 dist: trusty
Ilya Etingof7e6f7582018-06-29 08:28:05 +020026 python: '3.6'
27 - os: linux
28 dist: xenial
Ilya Etingofc4f600a2018-07-03 08:38:53 +020029 python: '3.7'
Ilya Etingof7e6f7582018-06-29 08:28:05 +020030 - os: linux
Aliaksei Urbanskia9139ec2019-10-17 07:57:05 +030031 dist: bionic
32 python: '3.8'
33 - os: linux
Ilya Etingofa91c27a2018-12-29 21:57:01 +010034 dist: trusty
Ilya Etingof7e6f7582018-06-29 08:28:05 +020035 python: 'nightly'
36 - os: linux
Ilya Etingofa91c27a2018-12-29 21:57:01 +010037 dist: trusty
Ilya Etingof7e6f7582018-06-29 08:28:05 +020038 python: 'pypy'
39 - os: linux
Ilya Etingofa91c27a2018-12-29 21:57:01 +010040 dist: trusty
Ilya Etingof7e6f7582018-06-29 08:28:05 +020041 python: 'pypy3'
Ilya Etingof09f18c62016-03-12 09:32:58 +010042install:
Ilya Etingof38090ae2017-08-05 15:44:12 +020043 - pip install codecov
44 - pip install -r requirements.txt
Ilya Etingof5662c432017-11-23 10:29:45 +010045 - pip install -e .
Ilya Etingof09f18c62016-03-12 09:32:58 +010046script:
Ilya Etingof7ef20602017-08-05 12:12:08 +020047 - PYTHONPATH=.:$PYTHONPATH python tests/__main__.py
48after_success:
49 - PYTHONPATH=.:$PYTHONPATH coverage run --omit=*test* tests/__main__.py
50 - codecov