Skip to content

Commit b246831

Browse files
HasenpfoteHasenpfote
authored andcommitted
Migrate to tox
1 parent 6a9c56c commit b246831

File tree

5 files changed

+67
-6
lines changed

5 files changed

+67
-6
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@
44
/malloc_tracer.egg-info
55
/temp
66
/sphinx
7+
/.tox
8+
/cover
9+
.coverage
10+
.noseids

.travis.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
language: python
22

3-
python:
4-
- 3.4
5-
- 3.5
6-
- 3.6
3+
matrix:
4+
include:
5+
- python: 3.4
6+
env: TOXENV=py34
7+
- python: 3.5
8+
env: TOXENV=py35
9+
- python: 3.6
10+
env: TOXENV=py36
711

812
install:
913
- pip install pipenv
1014
- pipenv install --dev
1115

1216
script:
13-
- pipenv run nosetests -c ./test/.noserc
17+
- pipenv run tox

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ coverage = "*"
1212
pycodestyle = "*"
1313
pydocstyle = "*"
1414
twine = "*"
15+
tox = "*"
1516

1617
[requires]
1718
python_version = "3.6"

Pipfile.lock

Lines changed: 33 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tox.ini

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[tox]
2+
envlist=
3+
py34,
4+
py35,
5+
py36
6+
7+
[testenv]
8+
skip_install=true
9+
10+
basepython=
11+
py34: python3.4
12+
py35: python3.5
13+
py36: python3.6
14+
15+
deps=
16+
pipenv
17+
18+
commands=
19+
pipenv install --dev
20+
pipenv run nosetests -c {toxinidir}/test/.noserc

0 commit comments

Comments
 (0)