1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-25 09:18:55 +00:00
restic/.travis.yml
2015-04-25 13:31:38 -04:00

25 lines
500 B
YAML

language: go
go:
- 1.3.3
- 1.4.2
- release
os:
- linux
- osx
notifications:
irc: "chat.freenode.net#restic"
install:
- go get -v -t ./...
script:
- go build -ldflags "-s" ./...
- go build -ldflags "-s" -o restic ./cmd/restic
- "stat --printf='binary size: %s' restic"
- go test -v ./...
- ./testsuite.sh
- sh -c "cd backend && go test -v -test.sftppath /usr/lib/openssh/sftp-server ./..."
- gofmt -l *.go */*.go */*/*.go
- test -z "$(gofmt -l *.go */*.go */*/*.go)"