2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-18 11:05:18 +00:00
restic/.travis.yml

42 lines
798 B
YAML
Raw Normal View History

2015-03-14 14:38:59 +00:00
language: go
go:
2015-03-14 14:07:29 +00:00
- 1.3.3
- 1.4.2
2015-03-14 14:37:12 +00:00
2015-04-25 17:31:38 +00:00
os:
- linux
- osx
2015-05-10 21:30:26 +00:00
env: SFTP_PATH="/usr/lib/openssh/sftp-server" GOX_OS="linux darwin openbsd freebsd"
2015-05-10 20:43:42 +00:00
2015-03-14 14:37:12 +00: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 20:43:42 +00:00
- make restic
- make gox
- make test
2015-05-14 21:20:12 +00:00
- GOARCH=386 make test
2015-05-10 20:43:42 +00:00
- make test-integration
2015-05-14 21:20:12 +00:00
- GOARCH=386 make test-integration
2015-05-10 20:43:42 +00:00
- make all.cov
- goveralls -coverprofile=all.cov -service=travis-ci -repotoken "$COVERALLS_TOKEN"
- gofmt -l *.go */*.go */*/*.go
- test -z "$(gofmt -l *.go */*.go */*/*.go)"