Skip to content
Snippets Groups Projects
Unverified Commit 71f0f26c authored by Chris Evich's avatar Chris Evich Committed by GitHub
Browse files

Merge pull request #4 from baude/tests

initial integration test setup
parents d30e3825 41f50dde
No related branches found
No related tags found
No related merge requests found
......@@ -67,10 +67,18 @@ test_task:
depends_on:
- validate
gce_instance:
matrix:
image_name: ${FEDORA_CACHE_IMAGE_NAME}
image_name: ${PRIOR_UBUNTU_CACHE_IMAGE_NAME}
env:
PATH: "$PATH:/var/tmp/go/bin"
setup_script:
- OS_RELEASE_ID="$(source /etc/os-release; echo $ID)"
- if [[ "$OS_RELEASE_ID" == "fedora" ]]; then dnf install -y dnsmasq; fi
test_script:
- make
- ./bin/dnsname --help # STUB!
- make test
......@@ -46,7 +46,7 @@ endef
.install.ginkgo:
if [ ! -x "$(GOBIN)/ginkgo" ]; then \
$(call go-get,github.com/onsi/ginkgo); \
$(call go-get,github.com/onsi/ginkgo/ginkgo); \
fi
.install.gitvalidation:
......@@ -66,8 +66,12 @@ install:
clean:
rm -fr bin/
test: .install.ginkgo
$(GO) test -v ./...
.PHONY: \
binaries \
test \
gofmt \
lint \
validate
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment