mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 14:44:58 +08:00
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
# 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:
|
|
- ./scripts/travis/install-deps.sh
|
|
matrix:
|
|
include:
|
|
- name: Linting Checks
|
|
script:
|
|
# run the linter, but exclude any files known to have errors or warnings.
|
|
- npm run lintwithexclusions
|
|
# - name: End-to-End Tests
|
|
# if: branch = develop
|
|
# install:
|
|
# - sudo apt-get install build-essential python2.7-dev libffi-dev python-pip python-setuptools sqlite3 libssl-dev python-virtualenv libjpeg-dev libxslt1-dev
|
|
# script:
|
|
# - ./scripts/travis/end-to-end-tests.sh
|
|
- name: Unit Tests
|
|
script:
|
|
- ./scripts/travis/unit-tests.sh
|
|
- name: Riot-web Unit Tests
|
|
script:
|
|
- ./scripts/travis/riot-unit-tests.sh
|