show what files changes when make generate fails in travis
@@ -14,12 +14,12 @@ install:
script:
- make generate
- if [[ -n "$(git status --porcelain)" ]] ; then echo "It seems like you need to run
- `make generate`. Please run it and commit the changes"; false; fi
+ `make generate`. Please run it and commit the changes"; git status --porcelain; false; fi
- if diff <(git grep -c '') <(git grep -cI '') | egrep -v -e 'docs/.*\.png|swagger-ui' -e 'vendor/*'
| grep '^<'; then echo "Binary files are present in git repostory."; false; fi
- make build
- if [[ -n "$(git status --porcelain)" ]] ; then echo "It seems like you need to run
- `make`. Please run it and commit the changes"; false; fi
+ `make`. Please run it and commit the changes"; git status --porcelain; false; fi
- if [[ $TRAVIS_REPO_SLUG == "kubevirt/kubevirt" ]]; then make goveralls; else make test; fi
- make apidocs
- make manifests DOCKER_TAG=$TRAVIS_TAG # falls back to latest if not on a tag
