forked from glayzzle/php-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
23 lines (23 loc) · 754 Bytes
/
.travis.yml
File metadata and controls
23 lines (23 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: node_js
node_js:
- '6'
cache:
bundler: true
directories:
- node_modules # NPM package
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
notifications:
email: false
webhooks:
urls:
- https://webhooks.gitter.im/e/f1d48355795bf25a8f9a
on_success: change
on_failure: always
on_start: never
script: npm run lint && npm run cover
after_success: cat /home/travis/build/glayzzle/php-parser/coverage/lcov.info | /home/travis/build/glayzzle/php-parser/node_modules/coveralls/bin/coveralls.js
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT