docker-php-extension-installer/.travis.yml

63 lines
2.3 KiB
YAML
Raw Normal View History

sudo: false
2019-12-10 07:55:09 +00:00
notifications:
email: false
branches:
only:
2019-12-10 07:55:09 +00:00
- master
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
2019-12-10 07:55:09 +00:00
jobs:
include:
2019-12-20 15:15:52 +00:00
- stage: Pre-test checks
name: Check coding style
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
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
2019-12-20 15:15:52 +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.7
env: DOCKER_DISTRO=alpine3.7
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
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