File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 66# env:
77# - PR_AUTHOR=${TRAVIS_PULL_REQUEST_SLUG::-15}
88git :
9- depth : 2
9+ depth : 10
1010jobs :
1111 allow_failures :
1212 env :
1313 - CAN_FAIL=true
14-
1514 include :
1615 - stage : validate-and-build
1716 name : " Validate and build"
Original file line number Diff line number Diff line change 33# Returns a list of updated _topic_map.yml files.
44# The list includes any topic maps that are themselves modified, and indirectly modifed topic maps where incldued AsciiDoc files have been updated.
55
6- # Handle the git diff differently for Travis and local
76# Get the *.adoc and distro maps files in the pull request
8- if [ " $TRAVIS " = true ] ; then
9- FILES=$( git diff --name-only HEAD $TRAVIS_BRANCH --diff-filter=d " *.yml" " *.adoc" ' :(exclude)_unused_topics/*' )
10-
11- else
12- FILES=$( git diff --name-only HEAD@{1} --diff-filter=d " *.yml" " *.adoc" ' :(exclude)_unused_topics/*' )
13- fi
7+ FILES=$( git diff --name-only HEAD@{1} --diff-filter=d " *.yml" " *.adoc" ' :(exclude)_unused_topics/*' )
148
159REPO_PATH=$( git rev-parse --show-toplevel)
1610
You can’t perform that action at this time.
0 commit comments