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: env:
sudo: false sudo: false
cache: false cache: false
addons: language: python
apt: python: '3.6'
packages:
- python3-pip
install: install:
- travis_retry pip3 install flake8 --user - travis_retry pip install flake8
before_script: before_script:
- git fetch --unshallow - git fetch --unshallow
script: script: