diff --git a/.travis.yml b/.travis.yml index 598ed5ed3..b5dabc206 100644 --- a/.travis.yml +++ b/.travis.yml @@ -79,7 +79,13 @@ jobs: # install helm for helm lint - curl -L https://git.io/get_helm.sh | bash -s -- -v "${HELM_VERSION}" + # yamllint disable rule:line-length + - mkdir -p /opt/commitlint && pushd /opt/commitlint + && npm init -y && npm install --save-dev @commitlint/travis-cli && popd + # yamllint enable rule:line-length + - export PATH=/opt/commitlint/node_modules/.bin:$PATH script: + - commitlint-travis - make go-lint - make lint-extras - make gosec