Skip to content

Commit d31011b

Browse files
author
igor-chepurnoi
committed
added phpunit to composer.json, update travis config
1 parent 80cf0aa commit d31011b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
language: php
22

33
php:
4+
- 7.0
45
- 7.1
56

67
# faster builds on new travis setup not using sudo
@@ -18,4 +19,4 @@ install:
1819

1920
script:
2021
- vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix --dry-run --diff
21-
- phpunit
22+
- vendor/bin/phpunit --verbose

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020
],
2121
"require": {
22-
"php": ">=7.1",
22+
"php": ">=7.0.0",
2323
"yiisoft/yii2": "~2.0.12",
2424
"yiisoft/yii2-bootstrap": "*",
2525
"yii2mod/yii2-enum": "*",
@@ -32,7 +32,8 @@
3232
"yiisoft/yii2-imagine": "^2.1"
3333
},
3434
"require-dev": {
35-
"friendsofphp/php-cs-fixer": "~2.0"
35+
"friendsofphp/php-cs-fixer": "~2.0",
36+
"phpunit/phpunit": "~6.0"
3637
},
3738
"autoload": {
3839
"psr-4": {

0 commit comments

Comments
 (0)