Skip to content

Commit 49bba17

Browse files
authored
Fix. (#4635)
1 parent 86c4a21 commit 49bba17

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

scripts/travis_rosetta_checker.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
#!/usr/bin/env bash
22
set -e
33

4+
echo $TRAVIS_PULL_REQUEST_BRANCH
45
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
56
echo $DIR
67
echo $GOPATH
78
cd $GOPATH/src/github.com/harmony-one/harmony-test
89
git fetch
910
git pull
11+
git checkout $TRAVIS_PULL_REQUEST_BRANCH || true
1012
git branch --show-current
1113
cd localnet
1214
docker build -t harmonyone/localnet-test .

scripts/travis_rpc_checker.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
#!/usr/bin/env bash
22
set -e
33

4+
echo $TRAVIS_PULL_REQUEST_BRANCH
45
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
56
echo $DIR
67
echo $GOPATH
78
cd $GOPATH/src/github.com/harmony-one/harmony-test
89
git fetch
10+
git checkout $TRAVIS_PULL_REQUEST_BRANCH || true
911
git pull
1012
git branch --show-current
1113
cd localnet

0 commit comments

Comments
 (0)