2
2
mirror of https://github.com/octoleo/restic.git synced 2024-05-31 08:00:48 +00:00

travis: Add openbsd cross-compile

This commit is contained in:
Alexander Neumann 2015-05-05 21:34:33 +02:00
parent 1723be5a50
commit 92de007900

View File

@ -17,13 +17,13 @@ notifications:
install:
- go get github.com/mitchellh/gox
- gox -build-toolchain -os "linux darwin"
- gox -build-toolchain -os "linux darwin openbsd"
- go get -v -t ./...
script:
- go build -ldflags "-s" ./...
- go build -ldflags "-s" -o restic ./cmd/restic
- sh -c "cd cmd/restic && gox -verbose -os 'linux darwin' && ls -al"
- sh -c "cd cmd/restic && gox -verbose -os 'linux darwin openbsd' && ls -al"
- go test -v ./...
- ./testsuite.sh
- sh -c "cd backend && go test -v -test.sftppath /usr/lib/openssh/sftp-server ./..."