element-web/scripts/travis.sh

18 lines
331 B
Bash
Raw Normal View History

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