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:
parent
515348f704
commit
751c9587d4
1 changed files with 3 additions and 5 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue