-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
64 additions
and
8 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
language: go | ||
|
||
go: | ||
- 1.6 | ||
- 1.7 | ||
|
||
install: | ||
- go get github.com/mattn/goveralls | ||
|
||
script: make test | ||
|
||
after_script: | ||
- goveralls -coverprofile=sequence.coverprofile -service=travis-ci -repotoken $COVERALLS_TOKEN | ||
|
||
env: | ||
global: | ||
- secure: aULdMQtdcXQvqhk8dTSrIW8isqLiBbOR91e2d8FuIrL2doRCRvnB3NazYIlhR26Ud5p8BpKV76uMtFdOX/dKLEAW6Ws46DHjKaKIkxmu/WuZSHAg7amQmKHA/jA895FEEA0aMrMr3TxPq7gVG8RLS5LGUUavSrynkr/dXcSXEgI= | ||
|
||
notifications: | ||
email: | ||
recipients: | ||
- benjamin@bengfort.com | ||
on_success: change | ||
on_failure: always |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Shell to use with Make | ||
SHELL := /bin/bash | ||
|
||
# Export targets not associated with files. | ||
.PHONY: fmt test citest clean | ||
|
||
# Format the Go source code | ||
fmt: | ||
@echo "Formatting the source" | ||
-gofmt -w . | ||
|
||
# Target for simple testing on the command line | ||
test: | ||
go test -v -coverprofile=sequence.coverprofile github.com/bbengfort/sequence | ||
|
||
# Clean build files | ||
clean: | ||
@echo "Cleaning up the project source." | ||
-go clean | ||
-find . -name "*.coverprofile" -print0 | xargs -0 rm -rf | ||
-rm -rf site | ||
-rm -rf _bin | ||
-rm -rf _build |
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
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