mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 23:06:32 +00:00
42 lines
821 B
YAML
42 lines
821 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.3.3
|
|
- 1.4.2
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
env: SFTP_PATH="/usr/lib/openssh/sftp-server" GOX_OS="linux darwin openbsd freebsd"
|
|
|
|
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:
|
|
- make restic
|
|
- make gox
|
|
- GOTESTFLAGS="" make test
|
|
- GOARCH=386 make test
|
|
- make test-integration
|
|
- GOARCH=386 make test-integration
|
|
- make all.cov
|
|
- goveralls -coverprofile=all.cov -service=travis-ci -repotoken "$COVERALLS_TOKEN" || true
|
|
- gofmt -l *.go */*.go */*/*.go
|
|
- test -z "$(gofmt -l *.go */*.go */*/*.go)"
|