Skip to content

Commit

Permalink
tox,travis: Add py35 env, infer TOXENV from TRAVIS_PYTHON_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
abusalimov committed Oct 11, 2015
1 parent 361a331 commit 904b138
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
21 changes: 11 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
sudo: false
language: python
python: 2.7
env:
- TOX_ENV=pypy3
- TOX_ENV=pypy
- TOX_ENV=py34
- TOX_ENV=py33
- TOX_ENV=py32
- TOX_ENV=py27
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "pypy"
- "pypy3"

install:
- pip install tox
script:
- tox -e $TOX_ENV
sudo: false
- "tox -e ${TRAVIS_PYTHON_VERSION/[0-9].[0-9]/py${TRAVIS_PYTHON_VERSION/.}}"
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{27,32,33,34,py,py3}
envlist = py{27,32,33,34,35}, pypy{,3}

[testenv]
deps =
Expand Down

0 comments on commit 904b138

Please sign in to comment.