2016-06-09 01:12:13 +03:00
|
|
|
language: go
|
|
|
|
go:
|
2017-06-11 04:10:09 +03:00
|
|
|
- 1.7.6
|
|
|
|
- 1.8.3
|
2016-07-26 02:39:22 +03:00
|
|
|
sudo: false
|
|
|
|
install:
|
2017-06-21 17:12:53 +03:00
|
|
|
- GLIDE_TAG=v0.12.3
|
|
|
|
- GLIDE_DOWNLOAD="https://github.com/Masterminds/glide/releases/download/$GLIDE_TAG/glide-$GLIDE_TAG-linux-amd64.tar.gz"
|
|
|
|
- curl -L $GLIDE_DOWNLOAD | tar -xvz
|
|
|
|
- export PATH=$PATH:$PWD/linux-amd64/
|
|
|
|
- mkdir -p $GOPATH/src/github.com/roasbeef/
|
|
|
|
- pushd $GOPATH/src/github.com/roasbeef/
|
|
|
|
- git clone https://github.com/roasbeef/btcd
|
|
|
|
- pushd btcd
|
|
|
|
- glide install
|
|
|
|
- go install . ./cmd/...
|
|
|
|
- popd
|
|
|
|
- popd
|
2017-07-05 02:05:05 +03:00
|
|
|
env:
|
|
|
|
- RACE=false
|
|
|
|
- RACE=true
|
2016-07-26 02:39:22 +03:00
|
|
|
script:
|
|
|
|
- export PATH=$PATH:$HOME/gopath/bin
|
2017-07-05 02:05:05 +03:00
|
|
|
- ./gotest.sh
|