2018-11-05 14:51:15 -05:00
|
|
|
addons:
|
|
|
|
chrome: stable
|
2012-04-19 18:32:41 -04:00
|
|
|
language: node_js
|
2014-09-01 04:18:49 -04:00
|
|
|
git:
|
2016-12-04 19:40:27 -05:00
|
|
|
depth: 3
|
2012-04-19 18:32:41 -04:00
|
|
|
node_js:
|
2017-07-15 02:17:32 -04:00
|
|
|
- "8"
|
2019-02-19 04:57:26 -05:00
|
|
|
- "10"
|
2019-04-29 11:03:25 -04:00
|
|
|
- "12"
|
2018-11-05 15:04:23 -05:00
|
|
|
before_script:
|
|
|
|
- google-chrome-stable --product-version
|
2018-06-23 18:23:47 -04:00
|
|
|
script:
|
2018-11-05 11:56:07 -05:00
|
|
|
- npm test || travis_terminate 1
|
2019-02-19 04:57:26 -05:00
|
|
|
- if [[ "$TRAVIS_NODE_VERSION" = "10" && "$TRAVIS_EVENT_TYPE" = "push" && ! `git log --format=%B --no-merges -n 1 | grep '\[skip browser\]'` ]]; then npm run js-test-cloud; fi
|
2016-12-04 19:40:27 -05:00
|
|
|
after_success:
|
2019-02-19 04:57:26 -05:00
|
|
|
- if [[ "$TRAVIS_NODE_VERSION" = "10" ]]; then npm run coveralls; fi
|
2019-04-29 11:03:25 -04:00
|
|
|
cache: npm
|
2018-10-13 06:29:20 -04:00
|
|
|
notifications:
|
|
|
|
email: false
|