You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
372 B
24 lines
372 B
3 years ago
|
kind: pipeline
|
||
|
name: default
|
||
|
|
||
|
services:
|
||
|
- name: redis
|
||
|
image: redis
|
||
|
- name: memcache
|
||
|
image: memcached
|
||
|
|
||
|
environment:
|
||
|
FDEVS_CACHE_REDIS_HOST: redis:6379
|
||
|
FDEVS_CACHE_MEMCACHE_HOST: memcache:11211
|
||
|
|
||
|
steps:
|
||
|
- name: test
|
||
|
image: golang
|
||
|
commands:
|
||
|
- go test ./...
|
||
|
|
||
|
- name: golangci-lint
|
||
|
image: golangci/golangci-lint:v1.39
|
||
|
commands:
|
||
|
- golangci-lint run
|