blob: cb495de152604d0e824156acd231913738f8bcdc [file] [log] [blame]
Ilya Etingof84331b92016-03-10 20:48:07 +01001language: python
Jon Dufresnec59447f2018-06-15 22:20:38 -07002cache: pip
Ilya Etingofd5327002018-06-29 10:23:09 +02003matrix:
4 include:
5 - os: linux
Ilya Etingof4f50a482018-12-29 21:16:53 +01006 dist: trusty
Ilya Etingofd5327002018-06-29 10:23:09 +02007 python: '2.6'
8 - os: linux
Ilya Etingof4f50a482018-12-29 21:16:53 +01009 dist: trusty
Ilya Etingofd5327002018-06-29 10:23:09 +020010 python: '2.7'
11 - os: linux
Ilya Etingof4f50a482018-12-29 21:16:53 +010012 dist: trusty
Ilya Etingofd5327002018-06-29 10:23:09 +020013 python: '3.2'
14 - os: linux
Ilya Etingof4f50a482018-12-29 21:16:53 +010015 dist: trusty
Ilya Etingofd5327002018-06-29 10:23:09 +020016 python: '3.3'
17 - os: linux
Ilya Etingof4f50a482018-12-29 21:16:53 +010018 dist: trusty
Ilya Etingofd5327002018-06-29 10:23:09 +020019 python: '3.4'
20 - os: linux
Ilya Etingof4f50a482018-12-29 21:16:53 +010021 dist: trusty
Ilya Etingofd5327002018-06-29 10:23:09 +020022 python: '3.5'
23 - os: linux
Ilya Etingof4f50a482018-12-29 21:16:53 +010024 dist: trusty
Ilya Etingofd5327002018-06-29 10:23:09 +020025 python: '3.6'
26 - os: linux
Ilya Etingofa4b30dc2018-12-29 21:24:03 +010027 dist: xenial
Ilya Etingof939be5f2018-07-03 08:37:13 +020028 sudo: true
29 python: '3.7'
Ilya Etingofd5327002018-06-29 10:23:09 +020030 - os: linux
Ilya Etingof4f50a482018-12-29 21:16:53 +010031 dist: trusty
Ilya Etingofd5327002018-06-29 10:23:09 +020032 python: 'nightly'
33 - os: linux
Ilya Etingof4f50a482018-12-29 21:16:53 +010034 dist: trusty
Ilya Etingofd5327002018-06-29 10:23:09 +020035 python: 'pypy'
36 - os: linux
Ilya Etingof4f50a482018-12-29 21:16:53 +010037 dist: trusty
Ilya Etingofd5327002018-06-29 10:23:09 +020038 python: 'pypy3'
Ilya Etingof8e5f15b2016-03-11 19:45:32 +010039install:
Ilya Etingofb912a802016-03-11 21:31:39 +010040 - pip install codecov
Ilya Etingof32a6bd02017-10-26 14:41:59 +020041 - pip install -r requirements.txt -r devel-requirements.txt
42 - pip install -e .
Ilya Etingof8e5f15b2016-03-11 19:45:32 +010043script:
Ilya Etingof870ef702017-02-12 10:57:35 +010044 - PYTHONPATH=.:$PYTHONPATH python tests/__main__.py
Ilya Etingofbc6cc032019-07-13 13:14:21 +020045 - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then (make -C docs html); fi
46 - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then (make -C docs html); fi
47 - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then (make -C docs html); fi
48 - if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then (make -C docs html); fi
49 - if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then (make -C docs html); fi
50 - if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then (make -C docs html); fi
51 - if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then (make -C docs html); fi
52 - if [[ $TRAVIS_PYTHON_VERSION == 'nightly' ]]; then (make -C docs html); fi
Ilya Etingof8e5f15b2016-03-11 19:45:32 +010053after_success:
Ilya Etingof870ef702017-02-12 10:57:35 +010054 - PYTHONPATH=.:$PYTHONPATH coverage run --omit=*test* tests/__main__.py
Ilya Etingof8e5f15b2016-03-11 19:45:32 +010055 - codecov