mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #8225 from ethereum/travis-bytecodecomp
Travis: run bytecode comparison only on PRs
This commit is contained in:
commit
7a194ffdab
@ -27,6 +27,13 @@
|
|||||||
|
|
||||||
set -e
|
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")"/../..
|
REPO_ROOT="$(dirname "$0")"/../..
|
||||||
|
|
||||||
if test -z "$1"; then
|
if test -z "$1"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user