Skip to content
Snippets Groups Projects
update.sh 917 B
Newer Older
#!/bin/bash

# This intended for updating the tested repos and their dependencies to the
# latest versions before running the integration test.

git pull
rm -fr ~/.glide

update() {
    git clean -ffdx
Spencer Brown's avatar
Spencer Brown committed
    git checkout master
    git pull
    glide cc
    glide up
}

Spencer Brown's avatar
Spencer Brown committed
pushd $GOPATH/src/gitlab.com/elixxir/client
Spencer Brown's avatar
Spencer Brown committed
pushd $GOPATH/src/gitlab.com/elixxir/server
Spencer Brown's avatar
Spencer Brown committed
pushd $GOPATH/src/gitlab.com/elixxir/channelbot
Spencer Brown's avatar
Spencer Brown committed
pushd $GOPATH/src/gitlab.com/elixxir/user-discovery-bot
Spencer Brown's avatar
Spencer Brown committed
pushd $GOPATH/src/gitlab.com/elixxir/gateway
Spencer Brown's avatar
Spencer Brown committed
pushd $GOPATH/src/gitlab.com/elixxir/comms
update
popd
Spencer Brown's avatar
Spencer Brown committed
pushd $GOPATH/src/gitlab.com/elixxir/crypto
update
popd
Spencer Brown's avatar
Spencer Brown committed
pushd $GOPATH/src/gitlab.com/elixxir/client-consoleUI
update
popd
pushd $GOPATH/src/gitlab.com/elixxir/primitives
update
popd

pushd $GOPATH/src/gitlab.com/elixxir/registration
update
popd

pushd ..
go test ./...
popd