forked from tjfoc/gmsm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (37 loc) · 871 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
41
42
43
sudo: false
language:
- go
go:
- 1.8.3
#before_install:
#- git rm -r --cached .
#- git add .
#- git commit -m 'update .gitignore'
install:
- go get -v github.com/golang/lint/golint
- go build -v ./sm2
- go build -v ./sm3
- go build -v ./sm4
script:
- go vet ./sm2
- go vet ./sm3
- go vet ./sm4
- $HOME/gopath/bin/golint .
- export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH"
- export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH"
- ls /home/travis/gopath/src/
- go test -v ./sm2
- go test -v ./sm3
- go test -v ./sm4
after_failure:
- |
echo "Error!"
notifications:
email:
recipients:
- zhiqiang@tj-fintech.com
- yanwenze@tj-fintech.com
- maoxiuze@tj-fintech.com
- yewei@tj-fintech.com
on_success: never # default: change
on_failure: never # default: always