blob: 62e3bd6c9d436bb905e6f71a4146fc3bc73b03d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#! /bin/bash
set -x
originalDirectory=$(pwd)
if [ "$TYPE" == "coverage" ]
then
wget https://scrutinizer-ci.com/ocular.phar
du -hs $originalDirectory/build/coverage.clover
ls -lap $originalDirectory
ls -lap $originalDirectory/build
php ocular.phar code-coverage:upload --format=php-clover $originalDirectory/build/coverage.clover
fi
|