From f123bf3f0fc6b97278cd8015bcb0d42fe5250766 Mon Sep 17 00:00:00 2001 From: mehdi hosseini Date: Wed, 20 Sep 2017 14:54:48 +0430 Subject: [PATCH] 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 --- .gitlab-ci.yml | 4 ++-- composer.json | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f096aea..860ff94 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,11 +8,11 @@ php:5.5: image: bobey/docker-gitlab-ci-runner-php5.5 script: - echo "Running PHPUnit Tests" - - phpunit + - vendor/bin/phpunit # PHP 5.6 php:5.6: image: bobey/docker-gitlab-ci-runner-php5.6 script: - echo "Running PHPUnit Tests" - - phpunit + - vendor/bin/phpunit diff --git a/composer.json b/composer.json index 53b60fc..c997fc8 100644 --- a/composer.json +++ b/composer.json @@ -9,6 +9,9 @@ "email": "mehdi.hosseini.dev@gmail.com" } ], + "require-dev": { + "phpunit/phpunit": "~4.0" + }, "autoload": { "psr-4": { "OpenCafe\\" : "src/",