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