restic/.travis.yml

20 lines
356 B
YAML
Raw Normal View History

2015-03-14 14:38:59 +00:00
language: go
go:
2015-03-14 14:07:29 +00:00
- 1.3.3
- 1.4.2
- release
2015-03-14 14:37:12 +00:00
notifications:
irc: "chat.freenode.net#restic"
install:
- go get -v -t ./...
script:
- gofmt -l *.go */*.go */*/*.go
- test -z "$(gofmt -l *.go */*.go */*/*.go)"
- go build -ldflags "-s" ./...
- echo "binary size: $(stat --printf='%s' cmd/restic/restic)"
- go test ./...
- ./testsuite.sh