Skip to content

Commit

Permalink
Run tests on Python 3.6
Browse files Browse the repository at this point in the history
Unfortunately, both Python 3.5 and Python 3.6 are not available on
Travis CI by default. That's why we can't just run `tox` and be happy.
Instead, we need to use Travis feature to tell explicitly which
environment we want to consume by means of using matrix.
  • Loading branch information
ikalnytskyi committed Feb 15, 2017
1 parent 4f87cff commit 2643837
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
sudo: false
language: python
python: 3.5

matrix:
include:
- python: 2.7
env: TOXENV=py27
- python: 3.3
env: TOXENV=py33
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- env: TOXENV=docs

install:
- pip install tox
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27, py33, py34, py35, docs
envlist = py27, py33, py34, py35, py36, docs

[testenv]
deps =
Expand Down

0 comments on commit 2643837

Please sign in to comment.