summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 80c729a772..e496919579 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,6 +4,14 @@ cache: ccache
os: linux
matrix:
include:
+ - name: "First commit message adheres to guidelines at <a href=\"https://goo.gl/p2fr5Q\">https://goo.gl/p2fr5Q</a>"
+ if: type = pull_request
+ language: node_js
+ node_js: "node"
+ script:
+ - if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then
+ bash -x tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST};
+ fi
- name: "Linter"
language: node_js
node_js: "node"
@@ -11,10 +19,6 @@ matrix:
- NODE=$(which node)
script:
- make lint
- # Lint the first commit in the PR.
- - if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then
- bash tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST} || true;
- fi
- name: "Test Suite"
addons:
apt: