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.
23 lines
385 B
23 lines
385 B
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 -parallel 10 ./...
|
|
|
|
- name: golangci-lint
|
|
image: golangci/golangci-lint:v1.39
|
|
commands:
|
|
- golangci-lint run
|
|
|