mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-04 11:06:21 +00:00
travis: Add variable needed to run static checks
Now that we support multiple branches, we changed how static-checks.sh compares branches. We now need a variable called $target_branch to make the correct comparison when testing a PR. Fixes: #663. Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
This commit is contained in:
parent
a3038924fb
commit
414ddd17e8
@ -17,6 +17,9 @@ go_import_path: github.com/kata-containers/runtime
|
|||||||
go:
|
go:
|
||||||
- "1.10.x"
|
- "1.10.x"
|
||||||
|
|
||||||
|
env:
|
||||||
|
- target_branch=$TRAVIS_BRANCH
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- ".ci/static-checks.sh"
|
- ".ci/static-checks.sh"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user