Skip to content

Commit 910ff63

Browse files
authored
Merge pull request #160 from scrapy/Gallaecio-patch-1
Fix CI jobs
2 parents 0c94d0c + b95b220 commit 910ff63

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ matrix:
1111
- python: 2.7
1212
env: TOXENV=py27
1313
- python: pypy
14-
env: TOXENV=pypy
14+
env: PYPY_VERSION=2.7-v7.0.0 TOXENV=pypy
1515
- python: 3.5
1616
env: TOXENV=py35
1717
- python: 3.6
@@ -31,9 +31,9 @@ install:
3131
# install 7.0.0. This can be removed once the Python 2 PyPy version in Travis
3232
# includes a fix.
3333
- |
34-
if [ "$TOXENV" = "pypy" ]; then
35-
export PYPY_VERSION="pypy-7.0.0-linux_x86_64-portable"
36-
wget "https://bitbucket.org/squeaky/portable-pypy/downloads/${PYPY_VERSION}.tar.bz2"
34+
if [[ ! -z "$PYPY_VERSION" ]]; then
35+
export PYPY_VERSION="pypy$PYPY_VERSION-linux64"
36+
wget "https://downloads.python.org/pypy/${PYPY_VERSION}.tar.bz2"
3737
tar -jxf ${PYPY_VERSION}.tar.bz2
3838
virtualenv --python="$PYPY_VERSION/bin/pypy" "$HOME/virtualenvs/$PYPY_VERSION"
3939
source "$HOME/virtualenvs/$PYPY_VERSION/bin/activate"

pylintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ disable=bad-continuation,
2020
no-else-continue,
2121
no-else-return,
2222
no-self-use,
23+
raise-missing-from,
2324
redefined-builtin,
2425
redefined-outer-name,
2526
too-many-arguments,

0 commit comments

Comments
 (0)