forked from matrix/element-web
Update jenkins.sh
This commit is contained in:
parent
b893ea3bdb
commit
fc698d63dd
|
@ -1,12 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -e
|
set -ex
|
||||||
|
|
||||||
#export NVM_DIR="$HOME/.nvm"
|
|
||||||
#[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
|
|
||||||
#nvm use 10
|
|
||||||
|
|
||||||
set -x
|
|
||||||
|
|
||||||
# check out corresponding branches of dependencies.
|
# check out corresponding branches of dependencies.
|
||||||
# clone the deps with depth 1: we know we will only ever need that one commit.
|
# clone the deps with depth 1: we know we will only ever need that one commit.
|
||||||
|
@ -14,12 +8,6 @@ set -x
|
||||||
|
|
||||||
yarn install
|
yarn install
|
||||||
|
|
||||||
# run the mocha tests
|
|
||||||
#yarn test
|
|
||||||
|
|
||||||
# run eslint
|
|
||||||
#yarn lintall -- -f checkstyle -o eslint.xml || true
|
|
||||||
|
|
||||||
rm dist/riot-*.tar.gz || true # rm previous artifacts without failing if it doesn't exist
|
rm dist/riot-*.tar.gz || true # rm previous artifacts without failing if it doesn't exist
|
||||||
|
|
||||||
# Since the deps are fetched from git, we can rev-parse
|
# Since the deps are fetched from git, we can rev-parse
|
||||||
|
|
Loading…
Reference in New Issue