-
Notifications
You must be signed in to change notification settings - Fork 72
/
.travis.yml
40 lines (33 loc) · 891 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
28
29
30
31
32
33
34
35
36
37
38
39
40
sudo: false
language:
- go
go:
- 1.8.3
install:
- go get -v github.com/golang/lint/golint
- go get -v github.com/tjfoc/gmsm/sm2
- go get -v golang.org/x/crypto/chacha20poly1305
- go get -v golang.org/x/net/context
- go get -v google.golang.org/grpc/credentials
- go get -v github.com/golang/protobuf/proto
- go get -v golang.org/x/text/secure/bidirule
- go get -v google.golang.org/genproto/googleapis/rpc/status
- pwd
- go build
- go build -v ./gmcredentials
- go build -v ./gmcredentials/echo
script:
- go vet ./gmcredentials
- go test ./gmcredentials
after_failure:
- |
echo "Error!"
notifications:
email:
recipients:
on_success: never # default: change
on_failure: always # default: always