forked from gz-c/hardware-wallet-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
25 lines (24 loc) · 895 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
language: go
go:
- "1.10.x"
matrix:
include:
- os: linux
- os: osx
before_install:
- source ./ci-scripts/install-$TRAVIS_OS_NAME.sh
- sh "./src/device-wallet/messages/ci-scripts/install-$TRAVIS_OS_NAME.sh"
install:
- make vendor_proto
- if [[ ! -d $GOPATH/src/github.com/skycoin/hardware-wallet-go ]]; then mkdir -p $GOPATH/src/github.com/skycoin; ln -s $TRAVIS_BUILD_DIR $GOPATH/src/github.com/skycoin/hardware-wallet-go; fi
- go get github.com/vektra/mockery/.../
- cd $GOPATH/src/github.com/skycoin/hardware-wallet-go
- make mocks
- go get -t ./...
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.10.2
script:
- make check
- make test
notifications:
# https://github.com/kvld/travisci-telegram TravisCI Telegram Bot integration
webhooks: https://fathomless-fjord-24024.herokuapp.com/notify