Use go run instead of godo

This commit is contained in:
Matt Joiner 2018-07-25 20:34:19 +10:00
parent 68bf3cb34b
commit 7ab51ee283
2 changed files with 2 additions and 2 deletions

View File

@ -29,6 +29,6 @@ jobs:
- 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

View File

@ -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 .