2017-07-05 13:39:02 +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-16 09:38:16 +00:00
|
|
|
#
|
2018-01-16 10:09:11 +00:00
|
|
|
# unfortunately we do temporarily require sudo as a workaround for
|
|
|
|
# https://github.com/travis-ci/travis-ci/issues/8836
|
2018-01-16 09:38:16 +00:00
|
|
|
sudo: required
|
2017-07-05 13:39:02 +00:00
|
|
|
|
2016-08-23 14:05:50 +00:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
|
|
- node # Latest stable version of nodejs.
|
2017-07-05 13:39:02 +00:00
|
|
|
addons:
|
|
|
|
chrome: stable
|
2017-01-12 17:09:49 +00:00
|
|
|
install:
|
2019-01-08 11:21:19 +00:00
|
|
|
- ./scripts/travis/install-deps.sh
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- name: Linting Checks
|
|
|
|
script:
|
|
|
|
# run the linter, but exclude any files known to have errors or warnings.
|
2019-03-11 14:22:02 +00:00
|
|
|
- yarn lintwithexclusions
|
2019-01-30 12:05:50 +00:00
|
|
|
# - 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
|
2019-01-08 11:21:19 +00:00
|
|
|
- name: Unit Tests
|
|
|
|
script:
|
2019-01-09 13:21:45 +00:00
|
|
|
- ./scripts/travis/unit-tests.sh
|
2019-01-09 14:16:20 +00:00
|
|
|
- name: Riot-web Unit Tests
|
|
|
|
script:
|
|
|
|
- ./scripts/travis/riot-unit-tests.sh
|