Pārlūkot izejas kodu

Merge branch 'master' of https://github.com/DMDirc/Meta

pull/88/head
Greg Holmes 9 gadus atpakaļ
vecāks
revīzija
6391e29476

+ 1
- 1
.idea/inspectionProfiles/Project_Default.xml Parādīt failu

@@ -254,7 +254,7 @@
254 254
       <option name="onlyWarnOnLoop" value="true" />
255 255
     </inspection_tool>
256 256
     <inspection_tool class="SubstringZero" enabled="true" level="WARNING" enabled_by_default="true" />
257
-    <inspection_tool class="SuppressionAnnotation" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
257
+    <inspection_tool class="SuppressionAnnotation" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
258 258
     <inspection_tool class="SwitchStatementWithConfusingDeclaration" enabled="true" level="WARNING" enabled_by_default="true" />
259 259
     <inspection_tool class="SynchronizationOnStaticField" enabled="true" level="WARNING" enabled_by_default="true" />
260 260
     <inspection_tool class="SynchronizeOnLock" enabled="true" level="WARNING" enabled_by_default="true" />

+ 9
- 9
README.md Parādīt failu

@@ -85,17 +85,17 @@ make sure everything actually still works!
85 85
 
86 86
 You can see an overview of open pull requests across all of the DMDirc projects [here](https://github.com/pulls?q=is%3Aopen+is%3Apr+user%3Admdirc).
87 87
 
88
-### Continuous Integration
88
+### Continuous Integration and Code Coverage
89 89
 
90
-The current CI status for the major projects are shown below:
90
+The current CI and coverage status for the major projects are shown below:
91 91
 
92
-| Project | Status                                                              |
93
-|---------|---------------------------------------------------------------------|
94
-| Meta    | [![Circle CI](https://circleci.com/gh/DMDirc/Meta.png?style=badge)](https://circleci.com/gh/DMDirc/Meta) |
95
-| Client  | [![Circle CI](https://circleci.com/gh/DMDirc/DMDirc.png?style=badge)](https://circleci.com/gh/DMDirc/DMDirc) |
96
-| Parser  | [![Circle CI](https://circleci.com/gh/DMDirc/Parser.png?style=badge)](https://circleci.com/gh/DMDirc/Parser) |
97
-| Plugins | [![Circle CI](https://circleci.com/gh/DMDirc/Plugins.png?style=badge)](https://circleci.com/gh/DMDirc/Plugins) |
98
-| Util    | [![Circle CI](https://circleci.com/gh/DMDirc/Util.png?style=badge)](https://circleci.com/gh/DMDirc/Util) |
92
+| Project | Status | Coverage |
93
+|:-------:|:------:|:--------:|
94
+| Meta    | [![Circle CI](https://circleci.com/gh/DMDirc/Meta.png?style=badge)](https://circleci.com/gh/DMDirc/Meta) | (No code) |
95
+| Client  | [![Circle CI](https://circleci.com/gh/DMDirc/DMDirc.png?style=badge)](https://circleci.com/gh/DMDirc/DMDirc)  | [![Coverage Status](https://img.shields.io/coveralls/DMDirc/DMDirc.svg)](https://coveralls.io/r/DMDirc/DMDirc?branch=master) |
96
+| Parser  | [![Circle CI](https://circleci.com/gh/DMDirc/Parser.png?style=badge)](https://circleci.com/gh/DMDirc/Parser)  | [![Coverage Status](https://img.shields.io/coveralls/DMDirc/Parser.svg)](https://coveralls.io/r/DMDirc/Parser?branch=master) |
97
+| Plugins | [![Circle CI](https://circleci.com/gh/DMDirc/Plugins.png?style=badge)](https://circleci.com/gh/DMDirc/Plugins) | [![Coverage Status](https://img.shields.io/coveralls/DMDirc/Plugins.svg)](https://coveralls.io/r/DMDirc/Plugins?branch=master) |
98
+| Util    | [![Circle CI](https://circleci.com/gh/DMDirc/Util.png?style=badge)](https://circleci.com/gh/DMDirc/Util) | [![Coverage Status](https://img.shields.io/coveralls/DMDirc/Util.svg)](https://coveralls.io/r/DMDirc/Util?branch=master) |
99 99
 
100 100
 ### Issues
101 101
 

+ 7
- 14
build.gradle Parādīt failu

@@ -1,20 +1,13 @@
1
-buildscript {
2
-    repositories {
3
-        jcenter()
4
-    }
5
-
6
-    dependencies {
7
-        classpath group: 'org.gradle.api.plugins', name: 'gradle-clover-plugin', version: '0.8.2'
8
-    }
1
+plugins {
2
+    id 'com.bmuschko.clover' version '2.0.1'
9 3
 }
10 4
 
11
-import java.nio.file.Files;
12
-import java.nio.file.Paths;
13
-import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
5
+apply from: 'gradle/clover.gradle'
6
+apply from: 'gradle/local-dependency-change.gradle'
7
+apply from: 'gradle/javadoc.gradle'
14 8
 
15
-apply from: 'clover.gradle'
16
-apply from: 'local-dependency-change.gradle'
17
-apply from: 'javadoc.gradle'
9
+subprojects.each { evaluationDependsOn it.path }
10
+tasks.dependencies.dependsOn subprojects*.tasks.dependencies
18 11
 
19 12
 task createWrapper(type: Wrapper) {
20 13
     description 'Downloads and installs an up-to-date wrapper for gradle.'

+ 2
- 2
circle.yml Parādīt failu

@@ -5,7 +5,7 @@ machine:
5 5
     version: oraclejdk8
6 6
   environment:
7 7
     TERM: dumb
8
-    GRADLE_OPTS: -Xmx3g
8
+    GRADLE_OPTS: -Xmx2g
9 9
 
10 10
 checkout:
11 11
   post:
@@ -21,7 +21,7 @@ test:
21 21
   override:
22 22
     - >
23 23
       if [ -n "${BUILD_JAVADOC}" ]; then
24
-        ./gradlew --stacktrace packageJavadoc;
24
+        ./gradlew --stacktrace util:javadocJar packageJavadoc;
25 25
       elif [ -n "${BUILD_PMD}" ]; then
26 26
         ./gradlew --stacktrace pmdMain;
27 27
       else

clover.gradle → gradle/clover.gradle Parādīt failu

@@ -9,7 +9,7 @@ task checkCloverCredentials << {
9 9
 }
10 10
 
11 11
 allprojects {
12
-    apply plugin: 'clover'
12
+    apply plugin: 'com.bmuschko.clover'
13 13
 
14 14
     clover {
15 15
         includeTasks = Boolean.valueOf(rootProject.enableClover) ? [] : ['none']
@@ -24,10 +24,9 @@ allprojects {
24 24
     repositories.mavenCentral()
25 25
 
26 26
     dependencies {
27
-        clover group: 'com.atlassian.clover', name: 'clover', version: '4.0.0'
27
+        clover group: 'com.atlassian.clover', name: 'clover', version: '4.0.2'
28 28
     }
29 29
 
30 30
     cloverGenerateReport.dependsOn ':checkCloverCredentials'
31
-
32 31
 }
33 32
 

javadoc.gradle → gradle/javadoc.gradle Parādīt failu


local-dependency-change.gradle → gradle/local-dependency-change.gradle Parādīt failu


Notiek ielāde…
Atcelt
Saglabāt