showdown/.travis.yml

28 lines
649 B
YAML
Raw Normal View History

2012-11-02 02:08:26 +08:00
language: node_js
2012-11-02 06:23:06 +08:00
node_js:
2016-09-29 07:20:30 +08:00
- "4.0"
- "6.0"
2015-01-05 09:00:01 +08:00
2015-01-05 09:06:08 +08:00
before_install:
2017-01-31 14:09:16 +08:00
- npm update npm -g
- npm install -g grunt-cli
2015-01-17 07:09:12 +08:00
#travis build speed up
2015-01-17 07:09:12 +08:00
sudo: false
cache:
directories:
- node_modules
# scripts
script:
- 'if [ "$TRAVIS_NODE_VERSION" == "0.12" ]; then echo "Bypassing EsLint" && grunt test-old; else echo "Running normal tests" && grunt test; fi'
# 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