-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy path.travis.yml
27 lines (26 loc) · 844 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
language: go
sudo: required
go:
- "1.15"
notifications:
email:
install:
- sudo apt-get install fuse capnproto
- mkdir -p ${GOPATH}/bin
- export GOBIN=${GOPATH}/bin
- export PATH="${GOPATH}/bin:${PATH}"
- export GO111MODULE=on
- go get -u github.com/rakyll/gotest
- go get -u github.com/phogolabs/parcello
- go get -u github.com/phogolabs/parcello/cmd/parcello
- go get -u zombiezen.com/go/capnproto2/...
- go get -u github.com/go-task/task/v3/cmd/task
- wget https://dist.ipfs.io/go-ipfs/v0.7.0/go-ipfs_v0.7.0_linux-amd64.tar.gz -O /tmp/ipfs.tgz
- tar -C /tmp -xvf /tmp/ipfs.tgz
- cp /tmp/go-ipfs/ipfs $GOBIN
- export PATH="${GOPATH}/bin:${PATH}"
- task
script:
- export PATH="${GOPATH}/bin:${PATH}"
- travis_wait 30 bash scripts/run-tests.sh