Add a rudimentary test environment based on Travis (#24)
* skeleton travis config * add a file test for the generated binary * add in a few more target calls and tests * add a banner for the travis build, will need updated to use upstream rather than my fork * Update .travis.yml * Update README.mdmaster
parent
7732a9a44f
commit
67efcec5b1
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue