2019-08-05 19:22:18 +00:00
|
|
|
# vim ft=yaml
|
|
|
|
|
|
|
|
# After changing this file, check it on:
|
|
|
|
# http://yaml-online-parser.appspot.com/
|
|
|
|
|
|
|
|
# See doc/travis_notes.txt for some guidelines
|
|
|
|
|
|
|
|
# this file is *not* meant to cover or endorse the use of travis, but rather to
|
|
|
|
# help confirm pull requests to this project.
|
|
|
|
|
|
|
|
dist: xenial # Ubuntu 16.04
|
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- DISPLAY=""
|
|
|
|
|
2019-07-25 01:09:36 +00:00
|
|
|
language: python
|
2019-08-05 19:22:18 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- python: 3.6
|
|
|
|
env: TOXENV=py36
|
|
|
|
- python: 3.7
|
|
|
|
env: TOXENV=py37
|
|
|
|
|
|
|
|
# See http://docs.travis-ci.com/user/caching/#pip-cache
|
2019-07-25 01:09:36 +00:00
|
|
|
cache: pip
|
2019-08-05 19:22:18 +00:00
|
|
|
|
2019-07-25 01:09:36 +00:00
|
|
|
install:
|
2019-07-25 01:56:38 +00:00
|
|
|
- pip install -r requirements.txt
|
2019-08-05 19:22:18 +00:00
|
|
|
- pip install -r ./tests/requirements.txt
|
|
|
|
- pip --version ; pip list
|
2019-07-25 01:09:36 +00:00
|
|
|
|
|
|
|
script:
|
2019-08-05 19:22:18 +00:00
|
|
|
# integration
|
|
|
|
- tox --sitepackages
|
2019-08-05 22:12:19 +00:00
|
|
|
- python setup.py install --dry-run
|
2019-08-05 19:22:18 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- coverage report
|
2019-08-07 12:32:32 +00:00
|
|
|
# disable auto coverage bc it isn't accurate since it misses gpu code.
|
|
|
|
# to get coverage, run local and push results
|
|
|
|
# - codecov
|
2019-08-05 19:22:18 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|