mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-22 13:50:49 +01:00
Enable CirrusCI
This commit is contained in:
parent
34b3f4af66
commit
4af52c3414
2 changed files with 30 additions and 0 deletions
24
.cirrus.yml
Normal file
24
.cirrus.yml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
container:
|
||||||
|
image: golang:latest
|
||||||
|
|
||||||
|
env:
|
||||||
|
GOPROXY: https://proxy.golang.org
|
||||||
|
|
||||||
|
lint_task:
|
||||||
|
name: GolangCI Lint
|
||||||
|
container:
|
||||||
|
image: golangci/golangci-lint:latest
|
||||||
|
run_script: golangci-lint run -v --timeout 5m0s --out-format json > lint-report.json
|
||||||
|
always:
|
||||||
|
golangci_artifacts:
|
||||||
|
path: lint-report.json
|
||||||
|
type: text/json
|
||||||
|
format: golangci
|
||||||
|
|
||||||
|
build_task:
|
||||||
|
modules_cache:
|
||||||
|
fingerprint_script: cat go.sum
|
||||||
|
folder: $GOPATH/pkg/mod
|
||||||
|
get_script: go get github.com/wneessen/go-mail
|
||||||
|
build_script: go build github.com/wneessen/go-mail
|
||||||
|
test_script: go test github.com/wneessen/go-mail
|
6
.idea/vcs.xml
Normal file
6
.idea/vcs.xml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
Loading…
Reference in a new issue