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:
|
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:
|
||||||
|
|
Loading…
Reference in a new issue