element-web/.travis.yml

29 lines
861 B
YAML
Raw Normal View History

2017-07-05 09:01:13 +00: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 10:10:13 +00: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 09:01:13 +00:00
2016-08-25 10:56:49 +00:00
language: node_js
node_js:
2017-05-30 14:11:17 +00:00
# make sure we work with a range of node versions.
#
# 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 08:43:40 +00:00
addons:
chrome: stable
install:
# clone the deps with depth 1: we know we will only ever need that one
# commit.
- npm install && scripts/fetch-develop.deps.sh --depth 1
script:
- CHROME_BIN='/usr/bin/google-chrome-stable' npm run test
- npm run lint