2018-04-12 07:17:21 +00:00
|
|
|
sudo: false
|
|
|
|
|
2019-12-10 07:55:09 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
2019-05-16 15:25:25 +00:00
|
|
|
branches:
|
|
|
|
only:
|
2019-12-10 07:55:09 +00:00
|
|
|
- master
|
2019-05-16 15:25:25 +00:00
|
|
|
|
2019-12-19 09:29:18 +00:00
|
|
|
language: minimal
|
|
|
|
|
2019-12-10 07:55:09 +00:00
|
|
|
test-extensions-job-template: &test-extensions-job-template
|
|
|
|
stage: Test extensions
|
|
|
|
if: type = pull_request
|
2019-12-19 09:31:13 +00:00
|
|
|
services:
|
|
|
|
- docker
|
2019-12-10 07:55:09 +00:00
|
|
|
script: ./scripts/travisci-test-extensions
|
2018-04-12 07:17:21 +00:00
|
|
|
|
2019-12-10 07:55:09 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
2019-12-20 15:15:52 +00:00
|
|
|
- stage: Pre-test checks
|
2019-12-27 13:56:03 +00:00
|
|
|
name: Check shell coding style
|
2019-12-20 15:15:52 +00:00
|
|
|
if: type = pull_request
|
|
|
|
language: go
|
|
|
|
go: '1.13'
|
2019-12-20 16:02:07 +00:00
|
|
|
before_script: GO111MODULE=on go install mvdan.cc/sh/v3/cmd/shfmt
|
2019-12-20 17:44:45 +00:00
|
|
|
script: ./scripts/invoke-shfmt check
|
2019-12-20 15:15:52 +00:00
|
|
|
|
2019-12-27 13:56:03 +00:00
|
|
|
- stage: Pre-test checks
|
|
|
|
name: Check PHP coding style
|
|
|
|
if: type = pull_request
|
|
|
|
language: php
|
|
|
|
php: '7.4'
|
|
|
|
install: composer install -a
|
|
|
|
script: composer run-script lint -- --dry-run --diff
|
|
|
|
|
2019-12-10 07:55:09 +00:00
|
|
|
- <<: *test-extensions-job-template
|
2019-12-20 10:51:20 +00:00
|
|
|
name: Test extensions on Alpine 3.7
|
|
|
|
env: DOCKER_DISTRO=alpine3.7
|
2018-04-12 07:17:21 +00:00
|
|
|
|
2019-12-10 07:55:09 +00:00
|
|
|
- <<: *test-extensions-job-template
|
2019-12-20 10:51:20 +00:00
|
|
|
name: Test extensions on Alpine 3.8
|
|
|
|
env: DOCKER_DISTRO=alpine3.8
|
|
|
|
|
|
|
|
- <<: *test-extensions-job-template
|
|
|
|
name: Test extensions on Alpine 3.9
|
|
|
|
env: DOCKER_DISTRO=alpine3.9
|
|
|
|
|
|
|
|
- <<: *test-extensions-job-template
|
|
|
|
name: Test extensions on Alpine 3.10
|
|
|
|
env: DOCKER_DISTRO=alpine3.10
|
|
|
|
|
|
|
|
- <<: *test-extensions-job-template
|
|
|
|
name: Test extensions on Debian 8 (jessie)
|
|
|
|
env: DOCKER_DISTRO=jessie
|
|
|
|
|
|
|
|
- <<: *test-extensions-job-template
|
|
|
|
name: Test extensions on Debian 9 (stretch)
|
|
|
|
env: DOCKER_DISTRO=stretch
|
|
|
|
|
|
|
|
- <<: *test-extensions-job-template
|
|
|
|
name: Test extensions on Debian 10 (buster)
|
|
|
|
env: DOCKER_DISTRO=buster
|
2018-04-12 07:17:21 +00:00
|
|
|
|
2019-12-10 07:55:09 +00:00
|
|
|
- stage: Update docs
|
|
|
|
name: Update README.md
|
|
|
|
if: branch = master AND type = push
|
|
|
|
env:
|
|
|
|
- secure: "vsl8z41oBky/MDRDKqs74Bif6BJldCPFVdl2lbPcjehOYG5cZ4YRLIEuhgJfnOglCGdyY6gh/2umSowRI4r5mC/ZR42RKJzWj9xQX2usJbzeOeZj+5eQv5im1DVwRmigUMzQOS743bd/zEeR9J3MLMgTGhKWEPKOJI6CHseUIKazAc0Z8vH6055YtkhGMqnolOe9h0gJx/sLP18qo2LTw82SyjOAMfbyYuHpiLznAqIOpNtwyj9WAujE3qN2oCo+9ALOnnrlINPqeLjnIOxRcSgYO4wIGPGSXIDTquuUht0McszOLuC9/kc6RybcyxmcqsssYRK2y0DQuavzyja5UaB4Pzf2vMrlbozAxdtF3oadZzfsAYfbhzaLbx0g1aAzL1CTJvXrWkZQgiy2c7tboXKJ3SvOqDp+GXEw08kCTpUq1AYSLw8ExlqcWZGiQxJfnfA05fWOkf8xM38ZQ+LPUHyGrt+PIw8FPAGhOV4E+BmHUlOoXOwoNllCEJ4QNkwxYT90eAMS5Rw8q6KASedwDFwyPCv8VtpNEtsl/FVa3m8/6wA7QmtuPxg7E2wceSkzsqHEcGLzERb4DnhVfrW0wv8zRw92vsnBmZdxusBT5uuyp9h5asjj6YhhVJ52g2NdCAGJlobiPk5X4uifshcdlcS8vF/jBMpI03XyJU4V4xc="
|
|
|
|
script: ./scripts/travisci-update-readme
|