Skip to content

Commit

Permalink
chore(stats): use codacy's web tool
Browse files Browse the repository at this point in the history
Update building files for using the codacy web tool (project's code review).
  • Loading branch information
mcolmant committed Feb 24, 2015
1 parent dc30722 commit 71cd1ec
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,7 @@ target/
.worksheet

#bluecove
bluecove*
*/*/bluecove*

#tokens
secrets.tar
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
language: scala
scala:
- 2.11.4
script:
- sbt clean coverage test
before_install:
- openssl aes-256-cbc -K $encrypted_48ebb0d1c0b9_key -iv $encrypted_48ebb0d1c0b9_iv
-in secrets.tar.enc -out secrets.tar -d
- tar xvf secrets.tar
after_success:
- sbt coverageReport
- sbt coverageAggregate
- sbt codacyCoverage
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# PowerAPI
[![Build Status](https://travis-ci.org/Spirals-Team/powerapi.svg?branch=develop)](https://travis-ci.org/Spirals-Team/powerapi)
[![Codacy Badge](https://www.codacy.com/project/badge/e0b0e331ca414250a7240b6be74aaa7b)](https://www.codacy.com/public/maximecolmant/powerapi)

PowerAPI is a middleware toolkit for building software-defined power meters.
Software-defined power meters are configurable software libraries that can estimate the power consumption of software in real-time.
PowerAPI supports the acquisition of raw metrics from a wide diversity of sensors (*eg.*, physical meters, processor interfaces, hardware counters, OS counters) and the delivery of power consumptions via different channels (including file system, network, web, graphical).
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ libraryDependencies in ThisBuild ++= Seq(

parallelExecution in (ThisBuild, Test) := false

instrumentSettings
codacyProjectTokenFile := Some("./codacy-token.txt")
3 changes: 3 additions & 0 deletions project/codacy-coverage.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
resolvers += "Typesafe Repository" at "https://repo.typesafe.com/typesafe/releases/"

addSbtPlugin("com.codacy" % "sbt-codacy-coverage" % "1.0.3")
2 changes: 1 addition & 1 deletion project/scoverage.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("org.scoverage" %% "sbt-scoverage" % "0.99.11")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.0.4")
Binary file added secrets.tar.enc
Binary file not shown.

0 comments on commit 71cd1ec

Please sign in to comment.