Added .drone.yml file

This commit is contained in:
Trial97
2021-02-01 09:06:02 +02:00
committed by Dan Christian Bogos
parent c6f41d7003
commit 983fb75a6a
2 changed files with 40 additions and 1 deletions

40
.drone.yml Normal file
View File

@@ -0,0 +1,40 @@
kind: pipeline
type: docker
name: unit tests
workspace:
path: /cgrates
steps:
- name: unit
pull: never
image: cgrates-integration
commands:
- docker-entrypoint.sh
- ./test.sh
kind: pipeline
type: docker
name: default
workspace:
path: /cgrates
steps:
- name: integration
pull: never
image: cgrates-integration
commands:
- docker-entrypoint.sh
- ./integration_test.sh
- name: notify
image: drillster/drone-email
settings:
from: cgrates.test01@gmail.com
host: smtp.gmail.com
username: cgrates.test01
recipients:
- alexandru.tripon@itsyscom.com
when:
status: [ changed, failure ]

1
go.mod
View File

@@ -65,7 +65,6 @@ require (
google.golang.org/api v0.36.0
google.golang.org/genproto v0.0.0-20210111234610-22ae2b108f89 // indirect
google.golang.org/grpc v1.34.1 // indirect
google.golang.org/protobuf v1.25.0
gorm.io/driver/mysql v1.0.3
gorm.io/driver/postgres v1.0.6
gorm.io/gorm v1.20.11