28f9215913
Travis stopped working again and no answers from support
34 lines
847 B
YAML
34 lines
847 B
YAML
name: Lint
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
phpcs:
|
|
runs-on: ubuntu-16.04
|
|
strategy:
|
|
matrix:
|
|
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: ${{ matrix.php-versions }}
|
|
tools: phpcs
|
|
- run: phpcs . --standard=phpcs.xml --warning-severity=0 --extensions=php -p
|
|
|
|
phpcompatibility:
|
|
runs-on: ubuntu-16.04
|
|
strategy:
|
|
matrix:
|
|
php-versions: ['5.6', '7.4']
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: ${{ matrix.php-versions }}
|
|
tools: phpcs
|
|
- run: phpcs . --standard=phpcs.xml --warning-severity=0 --extensions=php -p
|