make jenkins and travis use a common script

This commit is contained in:
Richard van der Hoff 2017-11-14 19:18:58 +00:00
parent b0a17e957d
commit 427e0bb83b
3 changed files with 8 additions and 28 deletions

View file

@ -2,6 +2,8 @@
set -ex
cd `dirname $0`/..
virtualenv env
. env/bin/activate
pip install -r scripts/requirements.txt
@ -21,7 +23,7 @@ go get gopkg.in/fsnotify.v1
(cd scripts/continuserv && go build)
(cd scripts/speculator && go build)
# build the spec and collect the supporting docs for matrix.org. (we aren't
# actually going to use them, since we're on travis, but we may as well check
# that the build works correctly).
# build the spec for matrix.org.
# (we don't actually use it on travis, but it's still useful to check we
# can build it. On Jenkins, this is then used to deploy to matrix.org).
./scripts/generate-matrix-org-assets