Skip to content

Commit 1a5bbe3

Browse files
authored
Code coverage, verify PHP 5.6, 7, 7.1 and 7.2 (#3)
1 parent d524224 commit 1a5bbe3

21 files changed

+1108
-211
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/nbproject
21
/vendor
3-
/composer.phar
2+
/build
43
/.idea

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
sudo: false
22
language: php
33
php:
4-
- 5.5
54
- 5.6
65
- 7
6+
- 7.1
7+
- 7.2
78

89
install:
910
- composer install

circle.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
machine:
22
php:
3-
version: 5.5.36
3+
version: 5.6.22
44

55
test:
66
override:
7-
# PHP 5.5.36
8-
- php -v
9-
- composer ci
107
# PHP 5.6.22
118
- phpenv global 5.6.22
129
- php -v
@@ -18,4 +15,10 @@ test:
1815
- php -v
1916
- rm -rf vendor
2017
- composer install
21-
- composer ci
18+
- composer ci
19+
# PHP 7.1.9
20+
- phpenv global 7.1.9
21+
- php -v
22+
- rm -rf vendor
23+
- composer install
24+
- composer ci

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
]
2727
},
2828
"require": {
29-
"php": ">=5.3.0",
29+
"php": ">=5.6.0",
3030
"webignition/quoted-string":">=0.2.1,<1.0",
3131
"webignition/string-parser":">=0.2.3,<1.0"
3232
},
3333
"require-dev": {
34-
"phpunit/phpunit": "~4.0",
34+
"phpunit/phpunit": "~5.0",
3535
"squizlabs/php_codesniffer": "3.*"
3636
},
3737
"minimum-stability":"dev",

0 commit comments

Comments
 (0)