mirror of
https://github.com/dnscrypt/dnscrypt-server-docker
synced 2024-11-22 15:32:01 +01:00
4f4b0865f9
VSCode's shfmt extension formats on save, with the same version of shfmt, but results are different ¯\_(ツ)_/¯
24 lines
414 B
YAML
24 lines
414 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
|
|
|
|
services:
|
|
- docker
|