2017-07-05 11:01:13 +02: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 11:10:13 +01: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 11:01:13 +02:00
|
|
|
|
2016-08-25 12:56:49 +02:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2017-05-30 16:11:17 +02:00
|
|
|
# make sure we work with a range of node versions.
|
|
|
|
#
|
2018-11-22 19:25:55 +01:00
|
|
|
# Current status of node versions: https://github.com/nodejs/LTS/
|
|
|
|
# We don't work with node 6 because it doesn't support package-lock
|
|
|
|
# files which we need to avoid the broken version of base-x
|
|
|
|
- 8
|
|
|
|
- 10
|
2017-07-05 10:43:40 +02:00
|
|
|
addons:
|
|
|
|
chrome: stable
|
2016-08-25 13:12:20 +02:00
|
|
|
install:
|
2017-06-01 19:02:51 +02:00
|
|
|
# clone the deps with depth 1: we know we will only ever need that one
|
|
|
|
# commit.
|
2019-03-12 12:06:57 +01:00
|
|
|
- scripts/fetch-develop.deps.sh --depth 1 && yarn install
|
2018-11-22 19:25:55 +01:00
|
|
|
script:
|
2019-03-12 12:06:57 +01:00
|
|
|
- CHROME_BIN='/usr/bin/google-chrome-stable' yarn test
|
|
|
|
- yarn lint
|