More Travis-CI tweakery.

gthank-master
Hank Gay 2017-06-01 15:07:51 -04:00
parent 76e1117977
commit e46be8510b
2 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,7 @@
language: python
python:
- 2.7
- 3.6
sudo: false
env:
- TOX_ENV=py27
@ -13,7 +14,7 @@ cache:
- ~/.cache/pip
- ~/.nvm/nvm.sh
install:
- pip install tox
- pip install tox tox-travis
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
- source ~/.nvm/nvm.sh
- nvm install --lts

View File

@ -1,7 +1,12 @@
[tox]
envlist = py27,py36,lint,docs
envlist = py{27,36},lint,docs
skipsdist = True
[travis]
python=
- 2.7: py27,lint,docs
- 3.6: py36
[testenv]
setenv =
PYTHONPATH={toxinidir}/readthedocs:{toxinidir}