Files
PGPy-3_13_patch/.travis.yml
Michael Greene 84567e085f - PEP8
- modified tox.ini so that py32 can continue to be tested even though cryptography no longer supports it
 - Key Generation - #147 :
   - implemented new API method
   - added unit tests for generating keys, adding user ids, and adding new subkeys
   - added unit tests to test basic expected exception raising when trying to use incomplete keys
   - added a very basic key-completeness test to the @KeyAction decorator
 - added __contains__ to SignatureVerification
2015-06-01 17:45:41 -07:00

42 lines
1.1 KiB
YAML

language: python
python:
- "3.4"
- "3.3"
- "3.2"
- "2.7"
- "pypy"
- "pypy3"
matrix:
include:
# add a pep8 test
- python: 3.4
env: TOXENV=pep8
# add a test of setup.py using python 3.4
- python: 3.4
env: TOXENV=setup
# add a setup.py test using python 2.7
- python: 2.7
env: TOXENV=setup27
allow_failures:
- env: TOXENV=pep8
- python: "pypy"
- python: "pypy3"
# install requirements
install:
# make sure gnupg, pgpdump, and the requested version of OpenSSL are installed
- sudo apt-get update
- sudo apt-get install -y gnupg pgpdump
# install coveralls
- pip install tox python-coveralls
# set TOXENV if it isn't yet
before_script:
- if [[ -z "$TOXENV" ]]; then export TOXENV=py${TRAVIS_PYTHON_VERSION//.}; fi
- if [[ "$TRAVIS_PYTHON_VERSION" == 'pypy' ]]; then export TOXENV=pypy; fi
- if [[ "$TRAVIS_PYTHON_VERSION" == 'pypy3' ]]; then export TOXENV=pypy3; fi
# run tox
script:
- tox
# and report coverage to coveralls, but only if this was a pytest run
after_success:
if [[ "${TOXENV}" == "py"* ]]; then coveralls; fi