diff options
author | Kristen Kozak <sebright@google.com> | 2017-01-28 16:54:37 -0800 |
---|---|---|
committer | Kristen Kozak <sebright@google.com> | 2017-03-24 16:26:37 -0700 |
commit | c39e0694720db9d7674a61d51b47792776cdfda9 (patch) | |
tree | da8f3881d7c5bc79e393a054eca62b6a94bbaaab /.travis.yml | |
parent | a57877ba0446c0da27573a0245c16205c9f79d19 (diff) | |
download | opencensus-java-c39e0694720db9d7674a61d51b47792776cdfda9.tar.gz |
Checks the commit history of pull requests in CI.
The script runs on Travis and only checks the commit history when the commit is
from a pull request. It fails the build if the pull request contains merge
commits or does not start from the branch that it is being merged into. If there
is an unexpected exception, the script does not fail the build.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 393fdbf1..9809c63d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,7 @@ install: fi script: + - python check-git-history.py - case "$TASK" in "BUILD") case "$TRAVIS_JDK_VERSION" in |