Skip to content

Commit

Permalink
Modernized Travis configuration to use tox-travis
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Dec 6, 2015
1 parent 81d9a11 commit 31d262c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
29 changes: 13 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
sudo: false

language: python
matrix:
include:
- python: 3.4
env: TOX_ENV=py34
- python: 3.5
env: TOX_ENV=py35
- python: 3.5
env: TOX_ENV=docs
- python: 3.5
env: TOX_ENV=flake8
install:
- pip install tox coveralls
script:
- tox -e $TOX_ENV
after_success:
- coveralls

python:
- "3.4"
- "3.5"

install: pip install tox-travis

script: tox

after_success: coveralls

notifications:
irc: "chat.freenode.net#asphalt"
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
[tox]
envlist = py34,py35,flake8

[tox:travis]
3.4 = py34
3.5 = py35, flake8, docs

[testenv]
deps = pytest
pytest-asyncio
Expand Down

0 comments on commit 31d262c

Please sign in to comment.