mirror of
https://github.com/danog/docker-php-extension-installer.git
synced 2024-12-11 17:09:51 +01:00
75 lines
2.6 KiB
YAML
75 lines
2.6 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 shell coding style
|
|
if: type = pull_request
|
|
language: go
|
|
go: '1.13'
|
|
before_script: GO111MODULE=on go install mvdan.cc/sh/v3/cmd/shfmt
|
|
script: ./scripts/invoke-shfmt check
|
|
|
|
- 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
|
|
|
|
- <<: *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
|
|
|
|
- <<: *test-extensions-job-template
|
|
name: Test restoring previous packages
|
|
script: docker run --rm --volume "$TRAVIS_BUILD_DIR:/app" --workdir /app php:7.3-stretch ./scripts/test-restore-apt
|
|
|
|
- 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
|