mirror of
https://github.com/dnscrypt/dnscrypt-server-docker
synced 2024-11-26 10:23:48 +01:00
25 lines
464 B
YAML
25 lines
464 B
YAML
---
|
|
|
|
dist: xenial
|
|
|
|
language: minimal
|
|
|
|
git:
|
|
depth: 5
|
|
|
|
jobs:
|
|
include:
|
|
- stage: Test
|
|
name: Docker build
|
|
script:
|
|
- docker build -t dnscrypt-server-docker-ci-test .
|
|
- stage: Test
|
|
name: Check shell script format
|
|
script:
|
|
- docker run -it --rm -v "$(pwd)":/sh -w /sh peterdavehello/shfmt:2.6.4 shfmt -sr -i 4 -l -w -ci .
|
|
- git diff --color
|
|
- git diff --stat=220 --color --exit-code
|
|
|
|
services:
|
|
- docker
|