Skip to content

Commit 4868a70

Browse files
committed
Updated to create build folder for code cove
1 parent 58b93eb commit 4868a70

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.travis.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ sudo: required
22
dist: trusty
33
language: php
44
php:
5-
- "7.2"
65
- "7.1"
7-
- "7.0"
86

97
services:
108
- docker
@@ -22,7 +20,7 @@ install:
2220
sudo apt-get -o Dpkg::Options::="--force-confdef" \
2321
-o Dpkg::Options::="--force-confold" --assume-yes install docker-engine --allow-unauthenticated
2422
- docker version
25-
- mkdir -p build/logs
23+
2624
# Update docker-compose via pip
2725
- sudo pip install docker-compose
2826
- docker-compose version

docker/entrypoint.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
sleep 3 &&
44
composer install --prefer-source --no-interaction &&
55
php ./vendor/bin/phpunit &&
6-
php ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml &&
6+
mkdir -p ./build/logs &&
7+
php ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml &&
78
php ./vendor/bin/php-coverall -v

0 commit comments

Comments
 (0)