Commit b5581241 authored by Jason Madden's avatar Jason Madden

We need to install pylint when we don't have the cache.

parent c872f116
......@@ -49,9 +49,10 @@ omit =
src/gevent/_tblib.py
[paths]
# Attempt to combine source and
# paths from the Travis CI installs so they all
# get collapsed during combining.
# Combine source and paths from the Travis CI installs so they all get
# collapsed during combining. Otherwise, coveralls.io reports
# many different files (/lib/pythonX.Y/site-packages/gevent/...) and we don't
# get a good aggregate number.
source =
src/
*/lib/*/site-packages/
......
......@@ -103,7 +103,9 @@ jobs:
- &build-gevent-python time ./scripts/install.sh $TRAVIS_PYTHON_VERSION
# Install gevent. Yes, this will create different files each time,
# leading to a fresh cache. But because of CCache stats, we had already been doing
# that (before we learned about CCACHE_NOSTATS)
# that (before we learned about CCACHE_NOSTATS).
# We don't install using the requirements file for speed (reduced deps) and because an editable
# install doesn't work in the cache.
# First, the build dependencies (see setup.cfg)
# so that we don't have to use build isolation and can better use the cache;
# Note that we can't use -U for cffi and greenlet on PyPy.
......@@ -150,6 +152,8 @@ jobs:
# We only need to do this on one version, and it should be Python 3, because
# pylint has stopped updating for Python 2.
- stage: test
# We need pylint, since above we're not installing a requirements file
install: pip install pylint
script: python -m pylint --rcfile=.pylintrc gevent
env: TRAVIS_PYTHON_VERSION=3.7
name: lint37
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment