File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,20 +6,14 @@ install: npm config set progress=false && npm i --no-audit
66cache :
77 directories :
88 - node_modules
9- stages :
10- - name : check-pr
11- if : type = pull_request
129jobs :
1310 include :
1411
15- - stage : check-pr
16- node_js : lts/*
17- script : ./scripts/check-pr.sh
18- env : Checks contributing guidelines before testing pull requests
19-
20- - stage : lint
12+ - stage : check
2113 node_js : node
22- script : npm run lint
14+ script :
15+ - if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then ./scripts/check-pr.sh; fi
16+ - npm run lint
2317 env : Checks the sources with TSLint
2418
2519 - stage : test
3024 script : npm run clean && node bin/asc -v && npm test
3125 env : Tests the sources on latest stable node.js
3226 - node_js : lts/*
27+ if : branch = master AND type = push
3328 script :
3429 - npm run clean
3530 - cd $TRAVIS_BUILD_DIR/tests/allocators/arena && npm run build && cd .. && npm test arena
You can’t perform that action at this time.
0 commit comments