summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorDonald Stufft <donald@stufft.io>2013-09-26 15:26:00 -0400
committerDonald Stufft <donald@stufft.io>2013-12-03 21:29:24 -0500
commitabdb597dbfb51b21cc76c1cff068b72c80f3a77d (patch)
tree4067b3c9eaf49b953599d81a6c65fed4bff76cdd /.travis.yml
parent0bd1b06af6f3c18d87b3754980141ac8ba24008c (diff)
downloadpip-abdb597dbfb51b21cc76c1cff068b72c80f3a77d.tar.gz
Upgrade PyPy in our tests
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index ee52f4f3e..9edcc7ee2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,6 +9,11 @@ env:
- TOXENV=pypy
install:
+ - "if [[ $TOXENV == 'pypy' ]]; then sudo add-apt-repository -y ppa:pypy/ppa; fi"
+ - "if [[ $TOXENV == 'pypy' ]]; then sudo apt-get -y update && 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.
+ - "if [[ $TOXENV == 'pypy' ]]; then sudo rm -rf /usr/local/pypy/bin; fi"
- sudo apt-get install subversion bzr mercurial
- echo -e "[web]\ncacerts = /etc/ssl/certs/ca-certificates.crt" >> ~/.hgrc
- git config --global user.email "python-virtualenv@googlegroups.com"