Skip to content

Commit

Permalink
Add a rudimentary test environment based on Travis (#24)
Browse files Browse the repository at this point in the history
* 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.md
  • Loading branch information
damianoneill authored and thockin committed Oct 25, 2017
1 parent 7732a9a commit 67efcec
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .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
1 change: 1 addition & 0 deletions 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
Expand Down

0 comments on commit 67efcec

Please sign in to comment.