forked from TrueCloudLab/restic
travis: Add FreeBSD cross-compile
This commit is contained in:
parent
a8be9c32d0
commit
4262f68d45
1 changed files with 2 additions and 2 deletions
|
@ -17,13 +17,13 @@ notifications:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- go get github.com/mitchellh/gox
|
- go get github.com/mitchellh/gox
|
||||||
- gox -build-toolchain -os "linux darwin openbsd"
|
- gox -build-toolchain -os "linux darwin openbsd freebsd"
|
||||||
- go get -v -t ./...
|
- go get -v -t ./...
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go build -ldflags "-s" ./...
|
- go build -ldflags "-s" ./...
|
||||||
- go build -ldflags "-s" -o restic ./cmd/restic
|
- go build -ldflags "-s" -o restic ./cmd/restic
|
||||||
- sh -c "cd cmd/restic && gox -verbose -os 'linux darwin openbsd' && ls -al"
|
- sh -c "cd cmd/restic && gox -verbose -os 'linux darwin openbsd freebsd' && ls -al"
|
||||||
- go test -v ./...
|
- go test -v ./...
|
||||||
- ./testsuite.sh
|
- ./testsuite.sh
|
||||||
- sh -c "cd backend && go test -v -test.sftppath /usr/lib/openssh/sftp-server ./..."
|
- sh -c "cd backend && go test -v -test.sftppath /usr/lib/openssh/sftp-server ./..."
|
||||||
|
|
Loading…
Reference in a new issue