2012-11-02 02:08:26 +08:00
|
|
|
language: node_js
|
2012-11-02 06:23:06 +08:00
|
|
|
node_js:
|
2017-03-05 13:23:20 +08:00
|
|
|
- "6"
|
2018-05-08 02:39:09 +08:00
|
|
|
- "8"
|
|
|
|
- "10"
|
2015-01-05 09:00:01 +08:00
|
|
|
|
2015-01-05 09:06:08 +08:00
|
|
|
before_install:
|
2015-05-16 07:32:00 +08:00
|
|
|
- npm install -g grunt-cli
|
2015-01-17 07:09:12 +08:00
|
|
|
|
2018-05-08 03:12:30 +08:00
|
|
|
# travis build speed up
|
2015-01-17 07:09:12 +08:00
|
|
|
sudo: false
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|
2015-05-29 04:43:34 +08:00
|
|
|
|
2017-01-31 13:46:25 +08:00
|
|
|
# scripts
|
2017-11-28 10:52:46 +08:00
|
|
|
script: grunt test
|
2017-01-31 13:46:25 +08:00
|
|
|
|
2015-05-29 04:43:34 +08:00
|
|
|
# hooks
|
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- https://webhooks.gitter.im/e/e369617839852624aa69
|
|
|
|
on_success: change # options: [always|never|change] default: always
|
|
|
|
on_failure: always # options: [always|never|change] default: always
|
|
|
|
on_start: false # default: false
|