File tree 2 files changed +11
-6
lines changed
2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 32
32
- image : circleci/openjdk:9-jdk-node-browsers
33
33
environment :
34
34
CC_TEST_REPORTER_ID : $CC_TEST_REPORTER_ID
35
+ COVERALLS_REPO_TOKEN : $COVERALLS_REPO_TOKEN
35
36
36
37
# Specify service dependencies here if necessary
37
38
# CircleCI maintains a library of pre-built images
82
83
paths :
83
84
- codeclimate.java.json
84
85
86
+ # run test coverage to coveralls
87
+ - run :
88
+ name : Upload to coveralls
89
+ command : |
90
+ gradle test jacocoJupTestReport coveralls
91
+
85
92
# upload test coverage to codacy
86
93
# - run:
87
94
# command: |
@@ -127,7 +134,7 @@ jobs:
127
134
root : tmp
128
135
paths :
129
136
- codeclimate.python.json
130
-
137
+
131
138
# upload test coverage to codacy
132
139
# - run:
133
140
# command: |
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ buildscript {
7
7
}
8
8
dependencies {
9
9
classpath ' org.junit.platform:junit-platform-gradle-plugin:1.0.1'
10
+ classpath ' org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.2'
10
11
}
11
12
}
12
13
@@ -26,6 +27,8 @@ apply plugin: 'java'
26
27
apply plugin : ' application'
27
28
apply plugin : ' org.junit.platform.gradle.plugin'
28
29
30
+ apply plugin : ' com.github.kt3k.coveralls'
31
+
29
32
// https://stackoverflow.com/questions/46233314/gradle-android-jacoco-and-junit5
30
33
apply plugin : ' jacoco'
31
34
jacocoTestCoverageVerification {
@@ -113,11 +116,6 @@ sourceSets {
113
116
}
114
117
}
115
118
116
- repositories {
117
- mavenLocal()
118
- mavenCentral()
119
- }
120
-
121
119
// https://github.com/junit-team/junit5/issues/1024#issuecomment-354384992
122
120
afterEvaluate {
123
121
def junitPlatformTestTask = (JavaExec ) project. tasks. getByName(' junitPlatformTest' )
You can’t perform that action at this time.
0 commit comments