-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (34 loc) · 919 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
language: go
go:
- "1.14"
os:
- linux
git:
depth: 1
quiet: true
submodules: false
notifications:
email: false
env:
global:
- GO111MODULE=on
- GOPROXY=https://proxy.golang.org
stages:
- name: Tests
jobs:
include:
- stage: "Tests"
name: "Linters"
install: go install github.com/golangci/golangci-lint/cmd/golangci-lint
script: golangci-lint run ./...
- stage: "Tests"
name: "Unit tests"
script: go test -v -count=100 -race -gcflags=-l -timeout=30s -coverprofile=coverage.txt -covermode=atomic ./...
after_success: bash <(curl -s https://codecov.io/bash)
- stage: "Build"
name: "Build service binary"
script: go build -o ./bin/ab_force ./cmd/antibruteforce
- name: "Build migrate binary"
script: go build -o ./bin/migrate ./cmd/migrate
- name: "Build cli binary"
script: go build -o ./bin/migrate ./cmd/cli