You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Refactor travis-ci to use parallel jobs
This commit is contained in:
21
.travis.yml
21
.travis.yml
@ -15,7 +15,24 @@ addons:
|
|||||||
chrome: stable
|
chrome: stable
|
||||||
install:
|
install:
|
||||||
- npm install
|
- npm install
|
||||||
# install synapse prerequisites for end to end tests
|
- ./scripts/travis/install-deps.sh
|
||||||
- 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:
|
script:
|
||||||
./scripts/travis.sh
|
./scripts/travis.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
|
||||||
|
install:
|
||||||
|
- npm install
|
||||||
|
- ./scripts/travis/install-deps.sh
|
||||||
|
- 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/test-riot.sh
|
||||||
|
- name: Unit Tests
|
||||||
|
script:
|
||||||
|
- npm run test
|
||||||
|
|
||||||
|
@ -9,9 +9,3 @@ ln -s ../matrix-js-sdk node_modules/matrix-js-sdk
|
|||||||
cd matrix-js-sdk
|
cd matrix-js-sdk
|
||||||
npm install
|
npm install
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
npm run test
|
|
||||||
./.travis-test-riot.sh
|
|
||||||
|
|
||||||
# run the linter, but exclude any files known to have errors or warnings.
|
|
||||||
npm run lintwithexclusions
|
|
Reference in New Issue
Block a user