Skip to content

Commit 17605ca

Browse files
committed
Use tox
1 parent 2382acd commit 17605ca

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@ python:
44
- "3.4"
55
- "3.5"
66
before_install:
7-
- wget https://github.com/jgm/pandoc/releases/download/2.1.1/pandoc-2.1.1-1-amd64.deb
8-
- sudo dpkg -i pandoc-2.1.1-1-amd64.deb
7+
- wget https://github.com/jgm/pandoc/releases/download/2.2.1/pandoc-2.2.1-1-amd64.deb
8+
- sudo dpkg -i pandoc-2.2.1-1-amd64.deb
99
- pandoc -v
1010
install:
1111
- pip install coveralls
12+
- pip install tox-travis
1213
script:
14+
- tox
1315
- coverage run --source=pandoc_codeblock_include setup.py test
16+
- coverage report -m
1417
after_success:
1518
- coveralls

tox.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[tox]
2+
envlist = py27,py34,py35
3+
4+
[testenv]
5+
deps = pytest
6+
commands = pytest

0 commit comments

Comments
 (0)