Skip to content

Commit

Permalink
Merge pull request #9567 from vector-im/dbkr/bye_bye_jenkins
Browse files Browse the repository at this point in the history
Change jenkins script to package script
  • Loading branch information
dbkr committed Apr 26, 2019
2 parents cc5911b + afc2b48 commit a67fd48
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions scripts/jenkins.sh → scripts/ci_package.sh
Original file line number Diff line number Diff line change
@@ -1,24 +1,10 @@
#!/bin/bash

set -e
# Runs package.sh setting the version to git hashes of the riot-web,
# react-sdk & js-sdk checkouts, for the case where these dependencies
# are git checkouts.

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.
# clone the deps with depth 1: we know we will only ever need that one commit.
`dirname $0`/fetch-develop.deps.sh --depth 1

yarn install

# run the mocha tests
yarn test

# run eslint
yarn lintall -- -f checkstyle -o eslint.xml || true
set -ex

rm dist/riot-*.tar.gz || true # rm previous artifacts without failing if it doesn't exist

Expand Down

0 comments on commit a67fd48

Please sign in to comment.