mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
travis: Run byte code comparison only if current travis job is a pull request (not a push-build).
This commit is contained in:
parent
b6190e06a5
commit
1b310a93a2
@ -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