diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..cd7c24b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: go +services: + - docker +script: +- make build +- test -f bin/amd64/myapp +- make container +- docker images | grep thockin/myapp-amd64 +- make test diff --git a/README.md b/README.md index 281156f..0bcc088 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Go app template build environment +[![Build Status](https://travis-ci.org/thockin/go-build-template.svg?branch=master)](https://travis-ci.org/thockin/go-build-template) This is a skeleton project for a Go application, which captures the best build techniques I have learned to date. It uses a Makefile to drive the build (the