Skip to content
Snippets Groups Projects
Commit be8940fe authored by Donald Stufft's avatar Donald Stufft
Browse files

update the .travis.yml

parent 061f8504
No related branches found
No related tags found
No related merge requests found
...@@ -8,12 +8,28 @@ env: ...@@ -8,12 +8,28 @@ env:
- TOXENV=pypy - TOXENV=pypy
install: install:
- "[[ ${TOXENV} == pypy ]] && sudo add-apt-repository -y ppa:pypy/ppa || true" # Add the PyPy repository
- "[[ ${TOXENV} == pypy ]] && sudo apt-get -y update && sudo apt-get -y install pypy || true" - "if [[ $TOXENV == 'pypy' ]]; then sudo add-apt-repository -y ppa:pypy/ppa; fi"
# Upgrade PyPy
- "if [[ $TOXENV == 'pypy' ]]; then sudo apt-get -y install pypy; fi"
# This is required because we need to get rid of the Travis installed PyPy # This is required because we need to get rid of the Travis installed PyPy
# or it'll take precedence over the PPA installed one. # or it'll take precedence over the PPA installed one.
- "[[ ${TOXENV} == pypy ]] && sudo rm -rf /usr/local/pypy/bin || true" - "if [[ $TOXENV == 'pypy' ]]; then sudo rm -rf /usr/local/pypy/bin; fi"
- pip install tox coveralls - pip install tox coveralls
script: script:
- tox -e $TOXENV - tox
notifications:
irc:
channels:
- "irc.freenode.org#cryptography-dev"
use_notice: true
skip_join: true
matrix:
allow_failures:
# There is a segfault issue with PyPy
- env: TOXENV=pypy
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment