2017-07-05 21:39:02 +08: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-16 17:38:16 +08:00
|
|
|
#
|
2018-01-16 18:09:11 +08:00
|
|
|
# unfortunately we do temporarily require sudo as a workaround for
|
|
|
|
# https://github.com/travis-ci/travis-ci/issues/8836
|
2018-01-16 17:38:16 +08:00
|
|
|
sudo: required
|
2017-07-05 21:39:02 +08:00
|
|
|
|
2016-08-23 22:05:50 +08:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
|
|
- node # Latest stable version of nodejs.
|
2017-07-05 21:39:02 +08:00
|
|
|
addons:
|
|
|
|
chrome: stable
|
2017-01-13 01:09:49 +08:00
|
|
|
install:
|
|
|
|
- npm install
|
2018-07-27 22:25:49 +08:00
|
|
|
# install synapse prerequisites for end to end tests
|
|
|
|
- sudo apt-get install build-essential python2.7-dev libffi-dev python-pip python-setuptools sqlite3 libssl-dev python-virtualenv libjpeg-dev libxslt1-dev
|
2017-01-19 20:51:20 +08:00
|
|
|
script:
|
2017-06-08 20:52:52 +08:00
|
|
|
./scripts/travis.sh
|