2012-11-02 02:08:26 +08:00
|
|
|
language: node_js
|
2012-11-02 06:23:06 +08:00
|
|
|
node_js:
|
2015-01-05 09:06:08 +08:00
|
|
|
- "0.8"
|
|
|
|
- "0.10"
|
2015-07-13 12:39:05 +08:00
|
|
|
- "0.12"
|
2015-01-05 09:00:01 +08:00
|
|
|
|
2015-01-05 09:06:08 +08:00
|
|
|
before_install:
|
|
|
|
- '[ "${TRAVIS_NODE_VERSION}" != "0.8" ] || npm install -g npm@1.4.28'
|
|
|
|
- npm install -g npm@latest
|
2015-05-16 07:32:00 +08:00
|
|
|
- npm install -g grunt-cli
|
2015-01-17 07:09:12 +08:00
|
|
|
|
2015-05-16 05:11:09 +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
|
|
|
|
|
|
|
# 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
|