Drop tox-travis

This commit is contained in:
messense 2017-05-17 12:21:56 +08:00
parent 2f84cdd708
commit ec857d1c53
No known key found for this signature in database
GPG Key ID: BB41A8A2C716CCA9
2 changed files with 19 additions and 10 deletions

View File

@ -1,10 +1,24 @@
sudo: false sudo: false
language: python language: python
python: cache:
- '3.5' directories:
- '3.6' - $HOME/.cache/pip
install: pip install tox-travis matrix:
script: tox include:
- env: TOX_ENV=py35
python: 3.5
- env: TOX_ENV=py35-no-ext
python: 3.5
- env: TOX_ENV=py36
python: 3.6
- env: TOX_ENV=py36-no-ext
python: 3.6
- env: TOX_ENV=flake8
python: 3.6
- env: TOX_ENV=check
python: 3.6
install: pip install -U tox
script: tox -e $TOX_ENV
deploy: deploy:
provider: pypi provider: pypi
user: channelcat user: channelcat

View File

@ -1,11 +1,6 @@
[tox] [tox]
envlist = py35, py36, {py35,py36}-no-ext, flake8, check envlist = py35, py36, {py35,py36}-no-ext, flake8, check
[travis]
python =
3.5: py35, py35-no-ext, flake8, check
3.6: py36, py36-no-ext, flake8, check
[testenv] [testenv]
usedevelop = True usedevelop = True
setenv = setenv =