restic/.travis.yml

42 lines
821 B
YAML
Raw Normal View History

2015-03-14 15:38:59 +01:00
language: go
go:
2015-03-14 15:07:29 +01:00
- 1.3.3
- 1.4.2
2015-03-14 15:37:12 +01:00
2015-04-25 19:31:38 +02:00
os:
- linux
- osx
2015-05-10 23:30:26 +02:00
env: SFTP_PATH="/usr/lib/openssh/sftp-server" GOX_OS="linux darwin openbsd freebsd"
2015-05-10 22:43:42 +02:00
2015-03-14 15:37:12 +01:00
notifications:
irc:
channels:
- "chat.freenode.net#restic"
on_success: change
on_failure: change
skip_join: true
install:
- go get github.com/mattn/goveralls
- go get github.com/mitchellh/gox
- gox -build-toolchain -os "$GOX_OS"
- go version
- go env
- make env
- make goenv
- make list
script:
2015-05-10 22:43:42 +02:00
- make restic
- make gox
2015-06-11 23:17:15 +02:00
- GOTESTFLAGS="" make test
2015-05-14 23:20:12 +02:00
- GOARCH=386 make test
2015-05-10 22:43:42 +02:00
- make test-integration
2015-05-14 23:20:12 +02:00
- GOARCH=386 make test-integration
2015-05-10 22:43:42 +02:00
- make all.cov
2015-06-11 22:45:22 +02:00
- goveralls -coverprofile=all.cov -service=travis-ci -repotoken "$COVERALLS_TOKEN" || true
- gofmt -l *.go */*.go */*/*.go
- test -z "$(gofmt -l *.go */*.go */*/*.go)"