mirror of https://github.com/vector-im/riot-web
parent
b6cdaa8597
commit
0b4c52c032
30
.travis.yml
30
.travis.yml
|
@ -1,30 +0,0 @@
|
|||
# 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.
|
||||
#
|
||||
# unfortunately we do temporarily require sudo as a workaround for
|
||||
# https://github.com/travis-ci/travis-ci/issues/8836
|
||||
sudo: required
|
||||
|
||||
language: node_js
|
||||
node_js:
|
||||
# make sure we work with a range of node versions.
|
||||
#
|
||||
# Current status of node versions: https://github.com/nodejs/LTS/
|
||||
# Our minimum supported version is Node 10.
|
||||
- 10
|
||||
- 11
|
||||
addons:
|
||||
chrome: stable
|
||||
before_install:
|
||||
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.13.0
|
||||
- export PATH=$HOME/.yarn/bin:$PATH
|
||||
install:
|
||||
# clone the deps with depth 1: we know we will only ever need that one
|
||||
# commit.
|
||||
- scripts/fetch-develop.deps.sh --depth 1 && yarn install
|
||||
script:
|
||||
- CHROME_BIN='/usr/bin/google-chrome-stable' yarn test
|
||||
- yarn lint
|
Loading…
Reference in New Issue