Skip to content

Commit

Permalink
tox,travis: Add py35, use >= for deps, infer TOXENV from TRAVIS_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
abusalimov committed Oct 11, 2015
1 parent 361a331 commit 3bd6576
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
22 changes: 12 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
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
- "export TOXENV=${TRAVIS_ENV/[0-9].[0-9]/py${TRAVIS_ENV/.}}"
script:
- tox -e $TOX_ENV
sudo: false
- tox
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
[tox]
envlist = py{27,32,33,34,py,py3}
envlist = py{27,32,33,34,35}, pypy{,3}

[testenv]
deps =
py==1.4.28
pytest==2.7.1
pytest>=2.6
commands =
py.test {posargs:test_pytest_catchlog.py}

0 comments on commit 3bd6576

Please sign in to comment.