fix travis checker path issue

pull/4464/head
“GheisMohammadi” 1 year ago
parent dfb0c63ac2
commit 98871365bf
No known key found for this signature in database
GPG Key ID: 15073AED3829FE90
  1. 7
      scripts/travis_rosetta_checker.sh
  2. 7
      scripts/travis_rpc_checker.sh

@ -5,11 +5,14 @@ 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-test
git fetch
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 pull
git branch --show-current
cd localnet
docker build -t harmonyone/localnet-test .
docker run -v "$DIR/../:/go/src/github.com/harmony-one/harmony" harmonyone/localnet-test -r

@ -5,11 +5,14 @@ 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-test
git fetch
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 pull
git branch --show-current
cd localnet
docker build -t harmonyone/localnet-test .
docker run -v "$DIR/../:/go/src/github.com/harmony-one/harmony" harmonyone/localnet-test -n
Loading…
Cancel
Save