From be8940fec1729fbae58f51bc1d80970dd9c2813c Mon Sep 17 00:00:00 2001 From: Donald Stufft <donald@stufft.io> Date: Sat, 5 Oct 2013 17:12:33 -0400 Subject: [PATCH] update the .travis.yml --- .travis.yml | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index e9c9930a..71047893 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,12 +8,28 @@ env: - TOXENV=pypy install: - - "[[ ${TOXENV} == pypy ]] && sudo add-apt-repository -y ppa:pypy/ppa || true" - - "[[ ${TOXENV} == pypy ]] && sudo apt-get -y update && sudo apt-get -y install pypy || true" + # Add the PyPy repository + - "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 # 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 + 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 -- GitLab