forked from atlas-forks/clickhousex
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.drone.yml
46 lines (40 loc) · 838 Bytes
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
kind: pipeline
type: docker
name: default
services:
- name: clickhouse
image: yandex/clickhouse-server
steps:
- name: deps
image: elixir:alpine
commands:
- apk add --no-cache git
- mix local.hex --force
- mix local.rebar --force
- mix deps.get
- name: build
image: elixir:alpine
commands:
- apk add --no-cache git
- mix local.hex --force
- mix local.rebar --force
- mix compile --warnings-as-errors
- name: test
image: elixir:alpine
commands:
- apk add --no-cache git
- mix local.hex --force
- mix local.rebar --force
- env test_db_hostname=clickhouse mix test
- name: format
image: elixir:alpine
commands:
- mix format --check-formatted
- name: lint
image: elixir:alpine
commands:
- apk add --no-cache git
- mix local.hex --force
- mix local.rebar --force
- mix credo -a