Skip to content

Commit 5d54f49

Browse files
committed
Use python2 and python3
1 parent 0844609 commit 5d54f49

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

.travis.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
1-
language: python
2-
python:
3-
- "2.7"
4-
- "3.4"
5-
- "3.5"
6-
- "3.6"
1+
language: generic
72
before_install:
83
- wget https://github.com/jgm/pandoc/releases/download/2.5/pandoc-2.5-1-amd64.deb
94
- sudo dpkg -i pandoc-2.5-1-amd64.deb
105
- pandoc -v
6+
- sudo apt-get install python2.7
7+
- sudo apt-get install python
8+
- sudo apt-get install python-pip
119
install:
1210
- pip install coveralls
1311
- pip install tox-travis
1412
script:
1513
- tox
16-
- python2 `which coverage` run -a --source=pandoc_codeblock_include setup.py test
17-
- python3 `which coverage` run -a --source=pandoc_codeblock_include setup.py test
1814
- coverage report -m
1915
after_success:
2016
- coveralls

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
2-
envlist = py27,py34,py35,py36
2+
envlist = py2,py3
33

44
[testenv]
5-
deps = pytest
6-
commands = pytest
5+
deps = coverage
6+
commands = coverage run -a --source=pandoc_codeblock_include setup.py test

0 commit comments

Comments
 (0)