diff --git a/.travis.yml b/.travis.yml index 3169a13fc..6f6c9aa18 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,8 +9,9 @@ jobs: - stage: code quality name: "pylint & mypy" install: - - pip install git+https://github.com/PyCQA/pylint.git - - pip install mypy + - pip install astroid==2.0.4 + # newer astroid fails in pylint so we pre-install older version + - pip install pylint mypy - pip install -e . script: - pylint --rcfile=setup.cfg torba