Ilya Etingof | 09f18c6 | 2016-03-12 09:32:58 +0100 | [diff] [blame] | 1 | language: python |
Ilya Etingof | ac6ae3f | 2018-06-28 08:43:55 +0200 | [diff] [blame] | 2 | cache: pip |
Ilya Etingof | 7e6f758 | 2018-06-29 08:28:05 +0200 | [diff] [blame] | 3 | matrix: |
4 | include: | ||||
5 | - os: linux | ||||
Ilya Etingof | a91c27a | 2018-12-29 21:57:01 +0100 | [diff] [blame] | 6 | dist: trusty |
Ilya Etingof | 7e6f758 | 2018-06-29 08:28:05 +0200 | [diff] [blame] | 7 | python: '2.6' |
8 | - os: linux | ||||
Ilya Etingof | a91c27a | 2018-12-29 21:57:01 +0100 | [diff] [blame] | 9 | dist: trusty |
Ilya Etingof | 7e6f758 | 2018-06-29 08:28:05 +0200 | [diff] [blame] | 10 | python: '2.7' |
Ilya Etingof | 25403b2 | 2019-07-20 13:36:45 +0200 | [diff] [blame] | 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' | ||||
Ilya Etingof | 7e6f758 | 2018-06-29 08:28:05 +0200 | [diff] [blame] | 18 | - os: linux |
Ilya Etingof | a91c27a | 2018-12-29 21:57:01 +0100 | [diff] [blame] | 19 | dist: trusty |
Ilya Etingof | 7e6f758 | 2018-06-29 08:28:05 +0200 | [diff] [blame] | 20 | python: '3.4' |
21 | - os: linux | ||||
Ilya Etingof | a91c27a | 2018-12-29 21:57:01 +0100 | [diff] [blame] | 22 | dist: trusty |
Ilya Etingof | 7e6f758 | 2018-06-29 08:28:05 +0200 | [diff] [blame] | 23 | python: '3.5' |
24 | - os: linux | ||||
Ilya Etingof | a91c27a | 2018-12-29 21:57:01 +0100 | [diff] [blame] | 25 | dist: trusty |
Ilya Etingof | 7e6f758 | 2018-06-29 08:28:05 +0200 | [diff] [blame] | 26 | python: '3.6' |
27 | - os: linux | ||||
28 | dist: xenial | ||||
Ilya Etingof | c4f600a | 2018-07-03 08:38:53 +0200 | [diff] [blame] | 29 | python: '3.7' |
Ilya Etingof | 7e6f758 | 2018-06-29 08:28:05 +0200 | [diff] [blame] | 30 | - os: linux |
Aliaksei Urbanski | a9139ec | 2019-10-17 07:57:05 +0300 | [diff] [blame] | 31 | dist: bionic |
32 | python: '3.8' | ||||
33 | - os: linux | ||||
Ilya Etingof | a91c27a | 2018-12-29 21:57:01 +0100 | [diff] [blame] | 34 | dist: trusty |
Ilya Etingof | 7e6f758 | 2018-06-29 08:28:05 +0200 | [diff] [blame] | 35 | python: 'nightly' |
36 | - os: linux | ||||
Ilya Etingof | a91c27a | 2018-12-29 21:57:01 +0100 | [diff] [blame] | 37 | dist: trusty |
Ilya Etingof | 7e6f758 | 2018-06-29 08:28:05 +0200 | [diff] [blame] | 38 | python: 'pypy' |
39 | - os: linux | ||||
Ilya Etingof | a91c27a | 2018-12-29 21:57:01 +0100 | [diff] [blame] | 40 | dist: trusty |
Ilya Etingof | 7e6f758 | 2018-06-29 08:28:05 +0200 | [diff] [blame] | 41 | python: 'pypy3' |
Ilya Etingof | 09f18c6 | 2016-03-12 09:32:58 +0100 | [diff] [blame] | 42 | install: |
Ilya Etingof | 38090ae | 2017-08-05 15:44:12 +0200 | [diff] [blame] | 43 | - pip install codecov |
44 | - pip install -r requirements.txt | ||||
Ilya Etingof | 5662c43 | 2017-11-23 10:29:45 +0100 | [diff] [blame] | 45 | - pip install -e . |
Ilya Etingof | 09f18c6 | 2016-03-12 09:32:58 +0100 | [diff] [blame] | 46 | script: |
Ilya Etingof | 7ef2060 | 2017-08-05 12:12:08 +0200 | [diff] [blame] | 47 | - PYTHONPATH=.:$PYTHONPATH python tests/__main__.py |
48 | after_success: | ||||
49 | - PYTHONPATH=.:$PYTHONPATH coverage run --omit=*test* tests/__main__.py | ||||
50 | - codecov |