mirror of
https://github.com/containers/skopeo.git
synced 2025-07-31 06:31:06 +00:00
Travis: add vendor checks
Add checks to Tarvis to make sure that the vendor.conf is in sync with the code and the dependencies in ./vendor. Do this by first running `make vendor` followed by running `./hack/tree_status.sh` to check if any file in the tree has been changed. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
parent
683f4263ef
commit
26a48586a0
@ -1,3 +1,4 @@
|
||||
language: go
|
||||
|
||||
matrix:
|
||||
include:
|
||||
@ -21,4 +22,4 @@ install:
|
||||
|
||||
script:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then hack/travis_osx.sh ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make check ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make vendor && ./hack/tree_status.sh && make check ; fi
|
||||
|
Loading…
Reference in New Issue
Block a user