1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-26 06:13:49 +01:00
dnscrypt-server-docker/.travis.yml
2019-08-05 22:19:43 +08:00

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