Skip to content

Commit ecfa743

Browse files
committed
install updated pypy from ppa
1 parent fabb351 commit ecfa743

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.travis-install.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
set -e
3+
set -x
4+
5+
if [[ "${TOX_ENV}" == "pypy" ]]; then
6+
sudo add-apt-repository -y ppa:pypy/ppa
7+
sudo apt-get -qy update
8+
sudo apt-get install -y pypy
9+
# This is required because we need to get rid of the Travis installed PyPy
10+
# or it'll take precedence over the PPA installed one.
11+
sudo rm -rf /usr/local/pypy/bin
12+
fi
13+
14+
pip install tox coveralls

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ matrix:
1111
- env: TOX_ENV=pypy
1212

1313
install:
14-
- pip install -M tox
14+
- ./.travis-install.sh
1515

1616
script:
1717
- tox -e $TOX_ENV

0 commit comments

Comments
 (0)