mirror of
https://github.com/restic/restic.git
synced 2024-08-21 11:53:22 +02:00
21 lines
434 B
YAML
21 lines
434 B
YAML
language: go
|
|
go:
|
|
- 1.3.3
|
|
- 1.4.2
|
|
- release
|
|
|
|
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 -test.sftppath /usr/lib/openssh/sftp-server ./...
|
|
- ./testsuite.sh
|
|
- gofmt -l *.go */*.go */*/*.go
|
|
- test -z "$(gofmt -l *.go */*.go */*/*.go)"
|