Files
PGPy-3_13_patch/.travis.yml
2014-05-01 17:33:36 -07:00

27 lines
719 B
YAML

language: python
python:
- "3.4"
- "3.3"
- "3.2"
- "2.7"
# install pgpdump - it's needed for testing
before_install:
- sudo apt-get update -qq
- sudo apt-get install gnupg pgpdump -qq
# command to install dependencies
install:
- pip install -r requirements.txt
- pip install -r requirements-test.txt
- pip install python-coveralls
- pip install .
# run pep8 against the project with some errors disabled
before_script:
- pep8 --ignore=E201,E202,E501,E265,E221,E251 setup.py
- pep8 --ignore=E201,E202,E501,E265 pgpy
# use setup.py to invoke testing via coveralls
script:
PYTHONPATH=. py.test -vv --cov pgpy --cov-report term-missing tests/
# and report coverage to coveralls
after_success:
coveralls