Skip to content

Commit f8b93c3

Browse files
author
Seulgi Kim
committed
No need to fnd the merge base to check change
1 parent a21ca25 commit f8b93c3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.travis/check-change

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ push)
8484
# we can find common ancestor of master and the branch.
8585
echo "Branch push"
8686
git fetch origin master:master;
87-
BASE=$(git merge-base master "${TRAVIS_COMMIT}")
88-
COMMIT_RANGE="${BASE}...${TRAVIS_COMMIT}"
87+
COMMIT_RANGE="origin/master..${TRAVIS_COMMIT}"
8988
fi
9089
;;
9190
pull_request)

0 commit comments

Comments
 (0)