Merge pull request #8225 from ethereum/travis-bytecodecomp

Travis: run bytecode comparison only on PRs
This commit is contained in:
chriseth 2020-02-03 17:29:55 +01:00 committed by GitHub
commit 7a194ffdab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,13 @@
set -e
if [[ "${TRAVIS_PULL_REQUEST_BRANCH}" != "" ]]; then
# Variable is set to the branch's name iff current job is a pull request,
# or is set to empty string if it is a push build.
echo "Skipping bytecode comparison."
exit 0
fi
REPO_ROOT="$(dirname "$0")"/../..
if test -z "$1"; then