forked from bitbandi/go-x11
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
47 lines (41 loc) · 1.63 KB
/
.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
44
45
46
47
sudo: false
language: go
go:
- 1.x
env:
global:
- CC_TEST_REPORTER_ID=354ceffce5d00f413db80f1dedae26b71c55c4659878506e094ed961b3d4c295
before_install:
- go get github.com/modocache/gover
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
install:
- go get -t ./...
script:
- go test -coverprofile=nist.coverprofile ./nist
- go test -coverprofile=blake.coverprofile ./blake
- go test -coverprofile=bmw.coverprofile ./bmw
- go test -coverprofile=cubed.coverprofile ./cubed
- go test -coverprofile=echo.coverprofile ./echo
- go test -coverprofile=gost.coverprofile ./gost
- go test -coverprofile=groest.coverprofile ./groest
- go test -coverprofile=jhash.coverprofile ./jhash
- go test -coverprofile=keccak.coverprofile ./keccak
- go test -coverprofile=luffa.coverprofile ./luffa
- go test -coverprofile=shavite.coverprofile ./shavite
- go test -coverprofile=simd.coverprofile ./simd
- go test -coverprofile=skein.coverprofile ./skein
- go test -coverprofile=hamsi.coverprofile ./hamsi
- go test -coverprofile=fugue.coverprofile ./fugue
- go test -coverprofile=shabal.coverprofile ./shabal
- go test -coverprofile=whirlpool_x17.coverprofile ./whirlpool_x17
- go test -coverprofile=x17.coverprofile .
- gover
- goveralls -coverprofile=gover.coverprofile -service=travis-ci
- go test -v -coverprofile=c.out ./...
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT