Skip to content

Commit

Permalink
Merge branch 'code-coverage'
Browse files Browse the repository at this point in the history
  • Loading branch information
j-bro committed Jul 26, 2016
2 parents 2b5e723 + 282e9a7 commit 0906a2f
Show file tree
Hide file tree
Showing 10 changed files with 73 additions and 79 deletions.
3 changes: 2 additions & 1 deletion .idea/modules/sep.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 0 additions & 28 deletions .idea/modules/sep_main.iml

This file was deleted.

17 changes: 0 additions & 17 deletions .idea/modules/sep_package.iml

This file was deleted.

32 changes: 0 additions & 32 deletions .idea/modules/sep_test.iml

This file was deleted.

20 changes: 20 additions & 0 deletions .idea/runConfigurations/Gradle_Check.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions .idea/runConfigurations/Gradle_Clean_Run.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,11 @@ addons:
- oracle-java8-installer

install: true

cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/

after_success:
- bash <(curl -s https://codecov.io/bash)
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ COMP 354 Software Engineering Project

![circleci build](https://circleci.com/gh/sepgroup/sep.svg?style=shield&circle-token=d385fd0d02f477f4d43e017b70f88964b600578d)

[![Travis-CI Build Status](https://travis-ci.org/sepgroup/sep.svg?branch=master)](https://travis-ci.org/sepgroup/sep)
[![Travis](https://img.shields.io/travis/sepgroup/sep.svg?maxAge=2592000)](https://travis-ci.org/sepgroup/sep)

[![Code Coverage](https://img.shields.io/codecov/c/github/sepgroup/sep/master.svg)](https://codecov.io/github/sepgroup/sep?branch=master)

## Description

Expand Down
17 changes: 17 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
apply plugin: 'java'
apply from: "gradle/plugin/javafx.plugin"
apply plugin: 'jacoco'

compileJava {
sourceCompatibility = '1.8'
Expand Down Expand Up @@ -37,6 +38,22 @@ test {
}
}

jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
afterEvaluate {
classDirectories = files(classDirectories.files.collect {
fileTree(dir: it, exclude: [
'**/*jfree**'
])
})
}
}

check.dependsOn jacocoTestReport

javafx {
appID 'SEP'
appName 'Software Engineering Project'
Expand Down
2 changes: 2 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ test:
post:
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
- bash <(curl -s https://codecov.io/bash)

0 comments on commit 0906a2f

Please sign in to comment.