Skip to content

Commit b97b6e6

Browse files
tox+travis: Run all commands via python -m
1 parent 2de8b5a commit b97b6e6

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.travis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ python:
1010
- pypy
1111

1212
install:
13-
- pip install -U pip setuptools six wheel
14-
- pip install -U -e .
15-
- pip install -U -r requirements.test.txt
16-
- pip install -U tox tox-travis
13+
- python -m pip install -U pip setuptools six wheel
14+
- python -m pip install -U -e .
15+
- python -m pip install -U -r requirements.test.txt
16+
- python -m pip install -U tox tox-travis
1717

1818
script:
19-
- py.test -vv --doctest-modules nodely test --cov nodely --cov test --cov-report term-missing --cov-fail-under 100
20-
- robot test
21-
- tox -r -v
19+
- python -m pytest -vv --doctest-modules nodely test --cov nodely --cov test --cov-report term-missing --cov-fail-under 100
20+
- python -m robot test
21+
- python -m tox -r -v
2222

2323
deploy:
2424
provider: pypi

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ deps =
66
-rrequirements.test.txt
77

88
commands =
9-
py.test -vv --doctest-modules nodely test --cov nodely --cov test --cov-report term-missing --cov-fail-under 100
10-
robot test
9+
python -m pytest -vv --doctest-modules nodely test --cov nodely --cov test --cov-report term-missing --cov-fail-under 100
10+
python -m robot test

0 commit comments

Comments
 (0)