-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (37 loc) · 1.68 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
language: go
sudo: required
go:
- "1.10.x"
os:
- windows
- linux
- osx
before_install:
- go version
install:
- go get "github.com/vvval/go-metadata-scanner"
- go get -u "github.com/spf13/cobra"
script:
- go test ./cmd -race -v -coverprofile=cmd.txt -covermode=atomic
- go test ./cmd/scancmd/writers -race -v -coverprofile=scancmdWriters.txt -covermode=atomic
- go test ./cmd/writecmd/operations -race -v -coverprofile=writecmdOperations.txt -covermode=atomic
- go test ./config -race -v -coverprofile=config.txt -covermode=atomic
- go test ./configuration -race -v -coverprofile=configuration.txt -covermode=atomic
- go test ./etool -race -v -coverprofile=etool.txt -covermode=atomic
- go test ./util -race -v -coverprofile=util.txt -covermode=atomic
- go test ./util/rand -race -v -coverprofile=utilRand.txt -covermode=atomic
- go test ./util/scan -race -v -coverprofile=utilScan.txt -covermode=atomic
- go test ./vars -race -v -coverprofile=vars.txt -covermode=atomic
- go test ./vars/metadata -race -v -coverprofile=varsMetadata.txt -covermode=atomic
after_success:
- bash <(curl -s https://codecov.io/bash) -f cmd.txt
- bash <(curl -s https://codecov.io/bash) -f scancmdWriters.txt
- bash <(curl -s https://codecov.io/bash) -f writecmdOperations.txt
- bash <(curl -s https://codecov.io/bash) -f config.txt
- bash <(curl -s https://codecov.io/bash) -f configuration.txt
- bash <(curl -s https://codecov.io/bash) -f etool.txt
- bash <(curl -s https://codecov.io/bash) -f util.txt
- bash <(curl -s https://codecov.io/bash) -f utilRand.txt
- bash <(curl -s https://codecov.io/bash) -f utilScan.txt
- bash <(curl -s https://codecov.io/bash) -f vars.txt
- bash <(curl -s https://codecov.io/bash) -f varsMetadata.txt