-
Notifications
You must be signed in to change notification settings - Fork 46
/
.travis.yml
35 lines (29 loc) · 1.01 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# This controls automated builds at Travis & Shippable.
# http://docs.travis-ci.com/user/migrating-from-legacy
sudo: false
# By default travis blacklists `gh-pages` branch. We want it tested.
# http://docs.travis-ci.com/user/build-configuration/#Specify-branches-to-build
branches:
only:
- gh-pages
- /.*/
language: node_js
# Should test the Node version that runs in production.
# https://docs.travis-ci.com/user/languages/javascript-with-nodejs/#Specifying-Node.js-versions
# https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
node_js:
- 10
- 11
# http://blog.travis-ci.com/2013-12-05-speed-up-your-builds-cache-your-dependencies/
cache:
directories:
- node_modules
after_script:
- printenv
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/738a0684d6f3cc8e35ea
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false