Merge pull request #4464 from harmony-one/fix/travis_test

fix travis checker path issue
pull/4469/head
Casey Gardiner 1 year ago committed by GitHub
commit 9966c4241b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      scripts/travis_rosetta_checker.sh
  2. 2
      scripts/travis_rpc_checker.sh

@ -1,13 +1,11 @@
#!/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 checkout $TRAVIS_PULL_REQUEST_BRANCH || true
git pull git pull
git branch --show-current git branch --show-current
cd localnet cd localnet

@ -1,13 +1,11 @@
#!/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 checkout $TRAVIS_PULL_REQUEST_BRANCH || true
git pull git pull
git branch --show-current git branch --show-current
cd localnet cd localnet

Loading…
Cancel
Save