Merge pull request #5536 from n0npax/yamllint-on-travis-file

fix linting for travis.yml
pull/5556/head
Medya Ghazizadeh 2019-10-06 20:43:01 -07:00 committed by GitHub
commit 33b6547bda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 11 deletions

View File

@ -1,3 +1,5 @@
---
# linted with yamllint
os: linux
language: go
go:
@ -8,15 +10,15 @@ env:
matrix:
include:
- language: python
name: Check Boilerplate
name: Check Boilerplate
env:
- TESTSUITE=boilerplate
before_install:
- pip install flake8 && flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
before_install:
- pip install flake8 && flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
script: make test
- language: go
name: Code Lint
name: Code Lint
go: 1.12.9
env:
- TESTSUITE=lint
@ -35,10 +37,10 @@ matrix:
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
webhooks:
urls:
- https://www.travisbuddy.com?only=failed,errored
on_success: never # don't comment on successful builds.
on_failure: always
on_cancel: always
on_error: always
webhooks:
urls:
- https://www.travisbuddy.com?only=failed,errored
on_success: never # don't comment on successful builds.
on_failure: always
on_cancel: always
on_error: always