mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-06 03:25:21 +00:00

Maybe forcing pypy to use python 3 will solve the issue (although it works fine with python 2.7 at the moment)
35 lines
820 B
YAML
35 lines
820 B
YAML
# Config file for automatic testing at travis-ci.org
|
|
|
|
language: python
|
|
|
|
matrix:
|
|
include:
|
|
- python: 3.6
|
|
env: TOX_ENV=py36
|
|
- python: 3.5
|
|
env: TOX_ENV=py35
|
|
- python: 3.4
|
|
env: TOX_ENV=py34
|
|
- python: 2.7
|
|
env: TOX_ENV=py27
|
|
- python: pypy3
|
|
env: TOX_ENV=pypy3
|
|
- python: 3.6
|
|
env: TOX_ENV=flake8
|
|
|
|
# This should ensure that all tests use the same pip version
|
|
before_install:
|
|
- python -m pip install --upgrade pip
|
|
|
|
# Use tox to run tests on Travis-CI to keep one unified method of running tests in any environment
|
|
install:
|
|
- pip install coverage coveralls tox
|
|
|
|
# Command to run tests, e.g. python setup.py test
|
|
script: tox -e $TOX_ENV
|
|
|
|
# Use after_success to get a single coveralls report
|
|
after_success:
|
|
- coverage run --source=pipreqs setup.py test
|
|
- coveralls
|