Use the Travis python language feature on the lint build

Rather than installing python via apt.

https://docs.travis-ci.com/user/languages/python/
This commit is contained in:
Ben Woosley 2018-07-21 12:53:50 -04:00
parent 515348f704
commit 751c9587d4
No known key found for this signature in database
GPG key ID: 6EE5F3785F78B345

View file

@ -84,12 +84,10 @@ jobs:
env:
sudo: false
cache: false
addons:
apt:
packages:
- python3-pip
language: python
python: '3.6'
install:
- travis_retry pip3 install flake8 --user
- travis_retry pip install flake8
before_script:
- git fetch --unshallow
script: