Updated to create build folder for code cove

parent 58b93eb1
......@@ -2,9 +2,7 @@ sudo: required
dist: trusty
language: php
php:
- "7.2"
- "7.1"
- "7.0"
services:
- docker
......@@ -22,7 +20,7 @@ install:
sudo apt-get -o Dpkg::Options::="--force-confdef" \
-o Dpkg::Options::="--force-confold" --assume-yes install docker-engine --allow-unauthenticated
- docker version
- mkdir -p build/logs
# Update docker-compose via pip
- sudo pip install docker-compose
- docker-compose version
......
......@@ -3,5 +3,6 @@
sleep 3 &&
composer install --prefer-source --no-interaction &&
php ./vendor/bin/phpunit &&
php ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml &&
mkdir -p ./build/logs &&
php ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml &&
php ./vendor/bin/php-coverall -v
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment