Check coding style

pull/76/head
Michele Locati 2019-12-20 16:15:52 +01:00
parent e9e1f37b20
commit 7748bb159a
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,14 @@ test-extensions-job-template: &test-extensions-job-template
jobs: jobs:
include: include:
- stage: Pre-test checks
name: Check coding style
if: type = pull_request
language: go
go: '1.13'
before_script: GO111MODULE=on go install mvdan.cc/sh/v3/cmd/shfmt
script: shfmt -d -s -ln posix -i 0 -ci -kp install-php-extensions scripts/common scripts/travisci-test-extensions scripts/travisci-update-readme scripts/update-readme
- <<: *test-extensions-job-template - <<: *test-extensions-job-template
name: Test extensions on Alpine 3.7 name: Test extensions on Alpine 3.7
env: DOCKER_DISTRO=alpine3.7 env: DOCKER_DISTRO=alpine3.7