Skip to content

Commit 986cd09

Browse files
committed
travis: fix codescan fetch head
1 parent 88b27f4 commit 986cd09

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ matrix:
6161
- pip install scancode-toolkit==3.1.1
6262
before_script:
6363
- mkdir -p SCANCODE
64+
# Fetch remaining information needed for branch comparison
65+
- git fetch --all --unshallow --tags
66+
- git fetch origin "${TRAVIS_BRANCH}"
6467
script:
6568
# scancode does not support list of files, only one file or directory
6669
# we use SCANCODE directory for all changed files (their copies with full tree)

0 commit comments

Comments
 (0)