2017-07-05 05:01:13 -04:00
|
|
|
# we need trusty for the chrome addon
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
# we don't need sudo, so can run in a container, which makes startup much
|
|
|
|
# quicker.
|
2018-01-19 05:10:13 -05:00
|
|
|
#
|
|
|
|
# unfortunately we do temporarily require sudo as a workaround for
|
|
|
|
# https://github.com/travis-ci/travis-ci/issues/8836
|
|
|
|
sudo: required
|
2017-07-05 05:01:13 -04:00
|
|
|
|
2016-08-25 06:56:49 -04:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2017-05-30 10:11:17 -04:00
|
|
|
# make sure we work with a range of node versions.
|
|
|
|
#
|
2018-10-12 19:50:17 -04:00
|
|
|
# Current status of node versions: https://github.com/nodejs/LTS/
|
2017-05-30 10:11:17 -04:00
|
|
|
- 6
|
2018-10-12 19:50:17 -04:00
|
|
|
- 8
|
|
|
|
- 10
|
2017-07-05 04:43:40 -04:00
|
|
|
addons:
|
|
|
|
chrome: stable
|
2016-08-25 07:12:20 -04:00
|
|
|
install:
|
2017-06-01 13:02:51 -04:00
|
|
|
# clone the deps with depth 1: we know we will only ever need that one
|
|
|
|
# commit.
|
2018-10-26 22:44:14 -04:00
|
|
|
- npm install && scripts/fetch-develop.deps.sh --depth 1
|
2018-10-12 20:34:05 -04:00
|
|
|
script:
|
|
|
|
- npm run test
|
2018-10-12 21:59:06 -04:00
|
|
|
- npm run lint
|