.circleci/config.yml | 2 +- fs/test.sh | 2 +- diff --git a/.circleci/config.yml b/.circleci/config.yml index a48ec9c24c8598a337784abb9e310d7212dc5455..958ff2e220ace96b696b0935231870630f69660f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,6 +29,6 @@ - run: set +e; CGO_ENABLED=0 go test -v ./...; true - run: go install golang.org/x/mobile/cmd/gomobile - run: gomobile init - run: gomobile build -target=android $PROJECT_GO_PACKAGE - - run: go install github.com/anacrolix/godo + # - run: GO111MODULE=off go install github.com/anacrolix/godo - run: sudo modprobe fuse - run: fs/test.sh diff --git a/fs/test.sh b/fs/test.sh index 84dffcb7e3d37ad8f430728e9a7917889879f63c..751852733d144c99d3ff73c5305f0de66d2e948e 100755 --- a/fs/test.sh +++ b/fs/test.sh @@ -3,7 +3,7 @@ repopath=$(cd $(dirname $0)/..; pwd) d=$(mktemp -d) pushd "$d" mkdir mnt torrents -GOPPROF=http godo github.com/anacrolix/torrent/cmd/torrentfs -mountDir=mnt -metainfoDir=torrents & +GOPPROF=http go run github.com/anacrolix/torrent/cmd/torrentfs -mountDir=mnt -metainfoDir=torrents & trap 'set +e; sudo umount -f mnt; pushd; rm -rv "$d"' EXIT pushd torrents cp "$repopath"/testdata/debian-9.1.0-amd64-netinst.iso.torrent .