Created
August 19, 2015 13:57
-
-
Save flenter/07d88c5954d2bee9217b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
box: google/golang | |
dev: | |
steps: | |
- script: | |
name: build libstatgrab | |
code: | | |
curl -o libstatgrab-0.91.tar.gz http://www.mirrorservice.org/pub/i-scream/libstatgrab/libstatgrab-0.91.tar.gz | |
tar zxf libstatgrab-0.91.tar.gz | |
cd libstatgrab-0.91 | |
./configure --prefix=/usr | |
sudo make install | |
cd .. | |
rm -rf libstatgrab-0.91 libstatgrab-0.91.tar.gz | |
- internal/watch: | |
code: | | |
go build ./... | |
reload: true | |
# Build definition | |
build: | |
# The steps that will be executed on build | |
steps: | |
- script: | |
name: build libstatgrab | |
code: | | |
curl -o libstatgrab-0.91.tar.gz http://www.mirrorservice.org/pub/i-scream/libstatgrab/libstatgrab-0.91.tar.gz | |
tar zxf libstatgrab-0.91.tar.gz | |
cd libstatgrab-0.91 | |
./configure --prefix=/usr | |
sudo make install | |
cd .. | |
rm -rf libstatgrab-0.91 libstatgrab-0.91.tar.gz | |
# golint step! | |
- wercker/golint | |
# Build the project | |
- script: | |
name: go build | |
code: | | |
go build ./... | |
# Test the project | |
- script: | |
name: go test | |
code: | | |
go get github.com/stretchr/testify/assert | |
go test -v ./... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment