Skip to content

Commit 751c958

Browse files
committed
Use the Travis python language feature on the lint build
Rather than installing python via apt. https://docs.travis-ci.com/user/languages/python/
1 parent 515348f commit 751c958

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,10 @@ jobs:
8484
env:
8585
sudo: false
8686
cache: false
87-
addons:
88-
apt:
89-
packages:
90-
- python3-pip
87+
language: python
88+
python: '3.6'
9189
install:
92-
- travis_retry pip3 install flake8 --user
90+
- travis_retry pip install flake8
9391
before_script:
9492
- git fetch --unshallow
9593
script:

0 commit comments

Comments
 (0)