File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 14
14
matrix :
15
15
fast_finish : true
16
16
include :
17
- - node_js : " 8"
17
+ - name : " Lint code and commit message format"
18
+ node_js : " 8"
18
19
env : VALIDATE_COMMIT_MSG=true LINT=true
19
20
20
21
before_install :
21
22
- npm config set loglevel warn
22
23
- g++-4.8 --version
23
- - if [[ "`node --version`" = v4* ]]; then npm install -g npm@latest-3; fi
24
24
25
25
addons :
26
26
firefox :
@@ -36,7 +36,10 @@ before_script:
36
36
- sh -e /etc/init.d/xvfb start
37
37
- npm run init
38
38
- export $(openssl aes-256-cbc -pass env:CREDENTIALS_PASS -d -in credentials)
39
- - ' if [ "$VALIDATE_COMMIT_MSG" == "true" ]; then ./scripts/validate-commit-msg.sh $TRAVIS_COMMIT; fi'
39
+ - echo "git head commit $(git rev-parse FETCH_HEAD)"
40
+ - echo "TRAVIS_COMMIT $TRAVIS_COMMIT"
41
+ - echo "TRAVIS_PULL_REQUEST_SHA $TRAVIS_PULL_REQUEST_SHA"
42
+ - ' if [ "$VALIDATE_COMMIT_MSG" == "true" ]; then ./scripts/validate-commit-msg.sh $TRAVIS_PULL_REQUEST_SHA; fi'
40
43
- ' if [ "$LINT" == "true" ]; then npm run lint; fi'
41
44
42
45
script :
You can’t perform that action at this time.
0 commit comments