From 4262f68d459067f93cd3f20ed37706d19c2b0046 Mon Sep 17 00:00:00 2001 From: Chris Howey Date: Wed, 6 May 2015 13:30:43 -0500 Subject: [PATCH] travis: Add FreeBSD cross-compile --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ed1293deb..951973aa5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,13 +17,13 @@ notifications: install: - 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 ./... script: - go build -ldflags "-s" ./... - 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 ./... - ./testsuite.sh - sh -c "cd backend && go test -v -test.sftppath /usr/lib/openssh/sftp-server ./..."