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 = ...@@ -49,9 +49,10 @@ omit =
src/gevent/_tblib.py src/gevent/_tblib.py
[paths] [paths]
# Attempt to combine source and # Combine source and paths from the Travis CI installs so they all get
# paths from the Travis CI installs so they all # collapsed during combining. Otherwise, coveralls.io reports
# get collapsed during combining. # many different files (/lib/pythonX.Y/site-packages/gevent/...) and we don't
# get a good aggregate number.
source = source =
src/ src/
*/lib/*/site-packages/ */lib/*/site-packages/
......
...@@ -103,7 +103,9 @@ jobs: ...@@ -103,7 +103,9 @@ jobs:
- &build-gevent-python time ./scripts/install.sh $TRAVIS_PYTHON_VERSION - &build-gevent-python time ./scripts/install.sh $TRAVIS_PYTHON_VERSION
# Install gevent. Yes, this will create different files each time, # 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 # 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) # First, the build dependencies (see setup.cfg)
# so that we don't have to use build isolation and can better use the cache; # 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. # Note that we can't use -U for cffi and greenlet on PyPy.
...@@ -150,6 +152,8 @@ jobs: ...@@ -150,6 +152,8 @@ jobs:
# We only need to do this on one version, and it should be Python 3, because # We only need to do this on one version, and it should be Python 3, because
# pylint has stopped updating for Python 2. # pylint has stopped updating for Python 2.
- stage: test - 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 script: python -m pylint --rcfile=.pylintrc gevent
env: TRAVIS_PYTHON_VERSION=3.7 env: TRAVIS_PYTHON_VERSION=3.7
name: lint37 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