Skip to content

Commit f123bf3

Browse files
author
mehdi hosseini
committed
Update CI status
phpunit command removed from gitlab-ci.yml and travis.yml, because of following issue into the container: https://travis-ci.org/opencafe/datium/jobs/277425106 Now phpunit will work fine on travis-ci image php:7.0 as well
1 parent 3d274e3 commit f123bf3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ php:5.5:
88
image: bobey/docker-gitlab-ci-runner-php5.5
99
script:
1010
- echo "Running PHPUnit Tests"
11-
- phpunit
11+
- vendor/bin/phpunit
1212

1313
# PHP 5.6
1414
php:5.6:
1515
image: bobey/docker-gitlab-ci-runner-php5.6
1616
script:
1717
- echo "Running PHPUnit Tests"
18-
- phpunit
18+
- vendor/bin/phpunit

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"email": "[email protected]"
1010
}
1111
],
12+
"require-dev": {
13+
"phpunit/phpunit": "~4.0"
14+
},
1215
"autoload": {
1316
"psr-4": {
1417
"OpenCafe\\" : "src/",

0 commit comments

Comments
 (0)