Fix CI Environment Variable

This commit is contained in:
Wenxuan Zhao 2017-12-14 21:03:56 -08:00
parent 6af89f5cf7
commit 4fab4addd4
No known key found for this signature in database
GPG Key ID: 0B45B13F10587A57

View File

@ -15,7 +15,7 @@ check: $(CHANGE_FILE)
make -k $(RULES) 2>/dev/null | grep '^Rule Matched: '
$(CHANGE_FILE):
git --no-pager diff '$(TRAVIS_PULL_REQUEST_BRANCH)' FETCH_HEAD --no-renames --name-status > $@
git --no-pager diff '$(TRAVIS_BRANCH)' FETCH_HEAD --no-renames --name-status > $@
rule-source-added:
[[ $(shell grep '^A\s\+sources/' $(CHANGE_FILE) | wc -l) -ge 1 ]]