63 lines
2.3 KiB
YAML
63 lines
2.3 KiB
YAML
sudo: false
|
|
|
|
notifications:
|
|
email: false
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
language: minimal
|
|
|
|
test-extensions-job-template: &test-extensions-job-template
|
|
stage: Test extensions
|
|
if: type = pull_request
|
|
services:
|
|
- docker
|
|
script: ./scripts/travisci-test-extensions
|
|
|
|
jobs:
|
|
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/lint scripts/travisci-test-extensions scripts/travisci-update-readme scripts/update-readme
|
|
|
|
- <<: *test-extensions-job-template
|
|
name: Test extensions on Alpine 3.7
|
|
env: DOCKER_DISTRO=alpine3.7
|
|
|
|
- <<: *test-extensions-job-template
|
|
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
|
|
|
|
- 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
|