diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 261e057c5..000000000 --- a/.travis.yml +++ /dev/null @@ -1,18 +0,0 @@ -language: go -go: "1.13" - -services: -- docker - -install: true -script: -- make bump-all -- make check -- make docker-build - -deploy: -- provider: script - script: docker login -u="$DOCKER_USER" -p="$DOCKER_PASS" quay.io && make docker-build docker-push - skip_cleanup: true - on: - branch: master diff --git a/automation/check-patch.unit-test.sh b/automation/check-patch.unit-test.sh new file mode 100755 index 000000000..9706314a4 --- /dev/null +++ b/automation/check-patch.unit-test.sh @@ -0,0 +1,20 @@ +#!/bin/bash -e + +# This script should be able to execute functional tests against Kubernetes +# cluster on any environment with basic dependencies listed in +# check-patch.packages installed and docker running. + +teardown() { + cp $(find . -name "*junit*.xml") $ARTIFACTS +} + +main() { + source automation/check-patch.setup.sh + cd ${TMP_PROJECT_PATH} + trap teardown EXIT SIGINT SIGTERM SIGSTOP + make bump-all + make check + make docker-build +} + +[[ "${BASH_SOURCE[0]}" == "$0" ]] && main "$@"