Skip to content

Commit

Permalink
remove redundant lines, travis already has the latest changes in targ…
Browse files Browse the repository at this point in the history
…et branch
  • Loading branch information
GheisMohammadi committed Jul 13, 2023
1 parent 9887136 commit 524f981
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions scripts/travis_rosetta_checker.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
#!/usr/bin/env bash
set -e

echo $TRAVIS_PULL_REQUEST_BRANCH
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
echo $DIR
echo $GOPATH
cd $GOPATH/src/github.com/harmony-one/harmony
git fetch --all
git checkout $TRAVIS_PULL_REQUEST_BRANCH || true
git pull
git branch --show-current
cd $GOPATH/src/github.com/harmony-one/harmony-test
git fetch
git pull
git branch --show-current
cd localnet
Expand Down
7 changes: 1 addition & 6 deletions scripts/travis_rpc_checker.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
#!/usr/bin/env bash
set -e

echo $TRAVIS_PULL_REQUEST_BRANCH
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
echo $DIR
echo $GOPATH
cd $GOPATH/src/github.com/harmony-one/harmony
git fetch --all
git checkout $TRAVIS_PULL_REQUEST_BRANCH || true
git pull
git branch --show-current
cd $GOPATH/src/github.com/harmony-one/harmony-test
git fetch
git pull
git branch --show-current
cd localnet
Expand Down

0 comments on commit 524f981

Please sign in to comment.