aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Woosley <ben.woosley@gmail.com>2018-07-21 12:53:50 -0400
committerBen Woosley <ben.woosley@gmail.com>2018-07-21 12:57:17 -0400
commit751c9587d42b4c603ef85e5e846a96b2e9dd7590 (patch)
tree0303f27409977dbe453697e0efa53c5791590ca1
parent515348f7043f712cf2410bf111240660d389bbb4 (diff)
Use the Travis python language feature on the lint build
Rather than installing python via apt. https://docs.travis-ci.com/user/languages/python/
-rw-r--r--.travis.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 6eba9fddd0..1e6fc0a518 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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: