2018-10-23 09:48:22 +00:00
|
|
|
sudo: false
|
2018-08-23 11:56:01 +00:00
|
|
|
language: python
|
2018-10-23 09:48:22 +00:00
|
|
|
|
|
|
|
# tell travis to cache ~/.cache/pip
|
|
|
|
cache: pip
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
include:
|
|
|
|
- python: 2.7
|
|
|
|
env: TOX_ENV=packaging
|
|
|
|
|
|
|
|
- python: 3.6
|
|
|
|
env: TOX_ENV=pep8
|
|
|
|
|
|
|
|
- python: 2.7
|
|
|
|
env: TOX_ENV=py27
|
|
|
|
|
|
|
|
- python: 3.5
|
|
|
|
env: TOX_ENV=py35
|
|
|
|
|
|
|
|
- python: 3.6
|
|
|
|
env: TOX_ENV=py36
|
|
|
|
|
|
|
|
- python: 3.7
|
|
|
|
language: python
|
|
|
|
sudo: required
|
|
|
|
dist: xenial
|
|
|
|
env: TOX_ENV=py37
|
|
|
|
|
|
|
|
- python: 3.6
|
|
|
|
env: TOX_ENV=check_isort
|
|
|
|
|
2018-08-23 11:56:01 +00:00
|
|
|
install:
|
2018-10-23 09:48:22 +00:00
|
|
|
- pip install tox
|
|
|
|
|
2018-08-23 11:56:01 +00:00
|
|
|
script:
|
2018-10-23 09:48:22 +00:00
|
|
|
- tox -e $TOX_ENV
|