forked from olefredrik/FoundationPress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (32 loc) · 887 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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