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 6
6
# env:
7
7
# - PR_AUTHOR=${TRAVIS_PULL_REQUEST_SLUG::-15}
8
8
git :
9
- depth : 2
9
+ depth : 10
10
10
jobs :
11
11
allow_failures :
12
12
env :
13
13
- CAN_FAIL=true
14
-
15
14
include :
16
15
- stage : validate-and-build
17
16
name : " Validate and build"
Original file line number Diff line number Diff line change 3
3
# Returns a list of updated _topic_map.yml files.
4
4
# The list includes any topic maps that are themselves modified, and indirectly modifed topic maps where incldued AsciiDoc files have been updated.
5
5
6
- # Handle the git diff differently for Travis and local
7
6
# 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/*' )
14
8
15
9
REPO_PATH=$( git rev-parse --show-toplevel)
16
10
You can’t perform that action at this time.
0 commit comments