2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00
restic/.travis.yml
2015-03-22 13:26:41 +01:00

21 lines
387 B
YAML

language: go
go:
- 1.3.3
- 1.4.2
- release
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" ./...
- go build -ldflags "-s" -o restic ./cmd/restic
- "stat --printf='binary size: %s' restic"
- go test ./...
- ./testsuite.sh