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