Add gitignore and Drone CI configuration.
Some checks reported errors
continuous-integration/drone Build was killed

This commit is contained in:
Stanislav Nikitin 2021-11-20 03:32:04 +05:00
parent 724bbe0793
commit 0e795d5bc8
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550
2 changed files with 24 additions and 0 deletions

21
.drone.yml Normal file
View File

@ -0,0 +1,21 @@
---
kind: pipeline
type: docker
name: build
steps:
- name: lint
image: golangci/golangci-lint:v1.43.0
environment:
GOFLAGS: -mod=vendor
CGO_ENABLED: 0
commands:
- golangci-lint run
- name: test
image: golang:1.17.3-alpine
environment:
GOFLAGS: -mod=vendor
CGO_ENABLED: 0
commands:
- go test ./...

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.idea
.vscode
*DS_Store*