35 lines
887 B
YAML
35 lines
887 B
YAML
language: php
|
|
|
|
matrix:
|
|
include:
|
|
- name: "PHP 5.6 Compatibility Test"
|
|
php: "5.6"
|
|
env: TEST_VERSION=5.6
|
|
- name: "PHP7.0 Compatibility Test"
|
|
php: "7.0"
|
|
env: TEST_VERSION=7.0
|
|
- name: "PHP 7.1 Compatibility Test"
|
|
php: "7.1"
|
|
env: TEST_VERSION=7.1
|
|
- name: "PHP 7.2 Compatibility Test"
|
|
php: "7.2"
|
|
env: TEST_VERSION=7.2
|
|
- name: "PHP 7.3 Compatibility Test"
|
|
php: "7.3"
|
|
env: TEST_VERSION=7.3
|
|
allow_failures:
|
|
- name: "PHP 5.3 Compatibility Test"
|
|
php: "5.3"
|
|
env: TEST_VERSION=5.3
|
|
- name: "PHP 5.4 Compatibility Test"
|
|
php: "5.4"
|
|
env: TEST_VERSION=5.4
|
|
- name: "PHP 5.5 Compatibility Test"
|
|
php: "5.5"
|
|
env: TEST_VERSION=5.5
|
|
|
|
before_script:
|
|
- composer install --dev
|
|
script:
|
|
- vendor/bin/phpcs -p src/ --standard=PHPCompatibility --runtime-set testVersion $TEST_VERSION
|