2017-06-08 14:52:52 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
2018-05-02 11:58:43 +02:00
|
|
|
scripts/fetchdep.sh matrix-org matrix-js-sdk
|
|
|
|
rm -r node_modules/matrix-js-sdk || true
|
2018-05-02 12:23:57 +02:00
|
|
|
ln -s ../matrix-js-sdk node_modules/matrix-js-sdk
|
2018-05-02 11:58:43 +02:00
|
|
|
|
2018-05-02 12:23:57 +02:00
|
|
|
cd matrix-js-sdk
|
2018-05-02 12:09:28 +02:00
|
|
|
npm install
|
2018-05-02 12:23:57 +02:00
|
|
|
cd ..
|
2018-05-02 12:09:28 +02:00
|
|
|
|
2017-06-08 14:52:52 +02:00
|
|
|
npm run test
|
|
|
|
./.travis-test-riot.sh
|
|
|
|
|
|
|
|
# run the linter, but exclude any files known to have errors or warnings.
|
2017-09-28 12:33:36 +02:00
|
|
|
npm run lintwithexclusions
|