Skip to content

Commit f3d1508

Browse files
committed
Merge pull request scrapy#674 from dangra/pypy
[WIP] try to restore pypy tests
2 parents ade7662 + 95853b3 commit f3d1508

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.travis-workarounds.sh

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
set -e
3+
set -x
4+
5+
if [[ "${TOXENV}" == "pypy" ]]; then
6+
sudo add-apt-repository -y ppa:pypy/ppa
7+
sudo apt-get -qy update
8+
sudo apt-get install -y pypy pypy-dev
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

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ matrix:
99
allow_failures:
1010
- env: TOXENV=pypy
1111
install:
12-
- pip install -M tox
12+
- ./.travis-workarounds.sh
13+
- pip install tox
1314
script: tox
1415
notifications:
1516
irc:

0 commit comments

Comments
 (0)