PHP Classes

File: support/tools/coveralls

Recommend this page to a friend!
  Classes of Daniele Orlando   FluidXML   support/tools/coveralls   Download  
File: support/tools/coveralls
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: FluidXML
Manipulate XML documents using a fluent interface
Author: By
Last change:
Date: 8 years ago
Size: 545 bytes
 

Contents

Class file image Download
#!/usr/bin/env sh cd "$(dirname "$0")" . "./.common.sh" if ! chkcmd 'curl'; then echo ' error: "curl" command not found.' exit 1 fi travis_job_id='' if test $# -eq 1; then travis_job_id="$1" fi coverage_data="$PWD/../../sandbox/code-coverage-report/code-coverage.php" coverage_file="$(dirname "$coverage_data")/code-coverage.json" ./coverage php-code-coverage php -f '../coveralls.php' "$coverage_data" "$travis_job_id" > "$coverage_file" curl -v -F json_file="@$coverage_file" "https://coveralls.io/api/v1/jobs"