showdown/.travis.yml
Estevão Soares dos Santos a029ab3127 chore: fix travis (#336)
2017-01-31 06:09:16 +00:00

28 lines
649 B
YAML

language: node_js
node_js:
- "4.0"
- "6.0"
before_install:
- npm update npm -g
- npm install -g grunt-cli
#travis build speed up
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