mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-06 03:25:21 +00:00
Merge pull request #100 from jonafato/tox-on-travis
Run Travis-CI tests inside of tox
This commit is contained in:
commit
1d48345cb0
20
.travis.yml
20
.travis.yml
@ -9,13 +9,17 @@ python:
|
|||||||
- "2.7"
|
- "2.7"
|
||||||
- "pypy"
|
- "pypy"
|
||||||
|
|
||||||
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
|
# Use tox to run tests on Travis-CI to keep one unified method of running tests in any environment
|
||||||
install:
|
install:
|
||||||
- "pip install -r requirements.txt"
|
- pip install coverage coveralls tox-travis
|
||||||
- "pip install coverage"
|
|
||||||
- "pip install coveralls"
|
|
||||||
|
|
||||||
# command to run tests, e.g. python setup.py test
|
# Command to run tests, e.g. python setup.py test
|
||||||
script: coverage run --source=pipreqs setup.py test
|
script: tox
|
||||||
after_success:
|
|
||||||
coveralls
|
# Use a build stage instead of after_success to get a single coveralls report
|
||||||
|
jobs:
|
||||||
|
include:
|
||||||
|
- stage: Coveralls
|
||||||
|
script:
|
||||||
|
- coverage run --source=pipreqs setup.py test
|
||||||
|
- coveralls
|
||||||
|
Loading…
x
Reference in New Issue
Block a user