1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 08:16:36 +00:00
restic/.travis.yml
Alexander Neumann e1acade174 Fix travis build
2015-03-22 13:09:14 +01:00

20 lines
395 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
- echo "binary size: $(stat --printf='%s' restic)"
- go test ./...
- ./testsuite.sh