element-web/jenkins.sh
Richard van der Hoff 5379956b0d jenkins.sh: remove spurious 'npm install'
Just let npm install matrix-js-sdk, rather than installing the one from jenkins
2016-06-02 16:42:19 +01:00

21 lines
304 B
Bash
Executable file

#!/bin/bash
set -e
export NVM_DIR="/home/jenkins/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
nvm use 4
set -x
# install the other dependencies
npm install
# run the mocha tests
npm run test
# delete the old tarball, if it exists
rm -f matrix-react-sdk-*.tgz
# build our tarball
npm pack