Skip to content

Commit 4b58ed1

Browse files
committed
travis: when pull request and files in folder .ci not changed, build with ci files in master branch
Signed-off-by: jingru <[email protected]>
1 parent c59b6ef commit 4b58ed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ before_install:
4343
- >
4444
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
4545
diff=$(git diff FETCH_HEAD master .ci)
46-
if [ "$diff" != ""]; then
46+
if [ "$diff" != "" ]; then
4747
git checkout remotes/origin/master -- .ci
4848
fi
4949
fi

0 commit comments

Comments
 (0)