Fix. (#4635)
parent
86c4a21a6e
commit
49bba1785e
@ -1,12 +1,14 @@ |
|||||||
#!/usr/bin/env bash |
#!/usr/bin/env bash |
||||||
set -e |
set -e |
||||||
|
|
||||||
|
echo $TRAVIS_PULL_REQUEST_BRANCH |
||||||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" |
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" |
||||||
echo $DIR |
echo $DIR |
||||||
echo $GOPATH |
echo $GOPATH |
||||||
cd $GOPATH/src/github.com/harmony-one/harmony-test |
cd $GOPATH/src/github.com/harmony-one/harmony-test |
||||||
git fetch |
git fetch |
||||||
git pull |
git pull |
||||||
|
git checkout $TRAVIS_PULL_REQUEST_BRANCH || true |
||||||
git branch --show-current |
git branch --show-current |
||||||
cd localnet |
cd localnet |
||||||
docker build -t harmonyone/localnet-test . |
docker build -t harmonyone/localnet-test . |
||||||
|
Loading…
Reference in new issue