restic/.travis.yml
Alexander Neumann fdac4655c6 Integrate travis
2015-05-10 22:47:01 +02:00

34 lines
614 B
YAML

language: go
go:
- 1.3.3
- 1.4.2
os:
- linux
- osx
env:
- SFTP_PATH="/usr/lib/openssh/sftp-server"
notifications:
irc:
channels:
- "chat.freenode.net#restic"
on_success: change
on_failure: change
install:
- go get github.com/mattn/goveralls
- go get github.com/mitchellh/gox
- gox -build-toolchain -os "$GOX_OS"
script:
- make restic
- make gox
- make test
- make test-integration
- 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)"