Paul Beusterien 01bf549253 Update formatters (#5933) преди 5 години
..
Sources 01bf549253 Update formatters (#5933) преди 5 години
Tests b90ddf1339 Limit Swift line lengths to 100 (#5315) преди 6 години
.gitignore aef87815bb Create a swift utility for uploading project health metrics from Travis (#2612) преди 7 години
Package.resolved aef87815bb Create a swift utility for uploading project health metrics from Travis (#2612) преди 7 години
Package.swift aef87815bb Create a swift utility for uploading project health metrics from Travis (#2612) преди 7 години
README.md a5a459e87f Add support for uploading metrics to the database (#2900) преди 7 години

README.md

Metrics

A swift utility for collecting project health metrics on Travis and uploading to a database. It currently only supports parsing a Code Coverage report generated from XCov.

Run the metrics uploader

Make sure that a valid database.config is in the current directory.

host:<Cloud SQL IP address>
database:<Database Name>
user:<Username>
password:<Password>

Use the following commands to build and run. This will parse the example coverage report and upload the results to the database.

swift build
.build/debug/Metrics -c Tests/MetricsTests/example_report.json -p 99

Run the unit tests

swift test