mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
28 lines
606 B
YAML
28 lines
606 B
YAML
language: node_js
|
|
node_js:
|
|
- "4"
|
|
- "6"
|
|
- "7"
|
|
|
|
before_install:
|
|
- 'if [ "$TRAVIS_NODE_VERSION" != "0.10" -a "$TRAVIS_NODE_VERSION" != "0.12" ]; then npm update npm -g; fi'
|
|
- npm install -g grunt-cli
|
|
|
|
#travis build speed up
|
|
sudo: false
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
|
|
# scripts
|
|
script: grunt test
|
|
|
|
# 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
|