# 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:
    - node # Latest stable version of nodejs.
addons:
    chrome: stable
install:
    - npm install
    - (cd node_modules/matrix-js-sdk && npm install)
script:
    ./scripts/travis.sh