2015-03-14 14:38:59 +00:00
|
|
|
language: go
|
2015-05-06 18:42:11 +00:00
|
|
|
|
2015-03-14 12:19:52 +00:00
|
|
|
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:
|
2015-04-26 11:09:40 +00:00
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "chat.freenode.net#restic"
|
|
|
|
on_success: change
|
|
|
|
on_failure: change
|
2015-05-17 22:02:51 +00:00
|
|
|
skip_join: true
|
2015-03-14 12:19:52 +00:00
|
|
|
|
|
|
|
install:
|
2015-05-09 09:46:38 +00:00
|
|
|
- go get github.com/mattn/goveralls
|
2015-04-26 10:23:00 +00:00
|
|
|
- go get github.com/mitchellh/gox
|
2015-05-06 18:42:11 +00:00
|
|
|
- gox -build-toolchain -os "$GOX_OS"
|
2015-05-11 19:10:36 +00:00
|
|
|
- go version
|
|
|
|
- go env
|
|
|
|
- make env
|
|
|
|
- make goenv
|
|
|
|
- make list
|
2015-03-14 12:19:52 +00:00
|
|
|
|
|
|
|
script:
|
2015-05-10 20:43:42 +00:00
|
|
|
- make restic
|
|
|
|
- make gox
|
2015-06-11 21:17:15 +00:00
|
|
|
- GOTESTFLAGS="" 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
|
2015-06-11 20:45:22 +00:00
|
|
|
- goveralls -coverprofile=all.cov -service=travis-ci -repotoken "$COVERALLS_TOKEN" || true
|
2015-03-25 15:17:18 +00:00
|
|
|
- gofmt -l *.go */*.go */*/*.go
|
|
|
|
- test -z "$(gofmt -l *.go */*.go */*/*.go)"
|