File tree Expand file tree Collapse file tree 2 files changed +26
-21
lines changed Expand file tree Collapse file tree 2 files changed +26
-21
lines changed Original file line number Diff line number Diff line change 4
4
install : mvn install -P !build-extras -DskipTests=true -Dmaven.javadoc.skip=true -B -V
5
5
script : mvn test -P !build-extras -B
6
6
after_success :
7
- - mvn clean test jacoco:report coveralls:report
7
+ - mvn clean test jacoco:report coveralls:report -P record-coverage,!build-extras -B
8
8
- ./src/main/deploy/before-deploy.sh
9
9
- ./src/main/deploy/deploy.sh
10
10
cache :
Original file line number Diff line number Diff line change 136
136
</execution >
137
137
</executions >
138
138
</plugin >
139
-
140
- <!-- coverage -->
141
- <plugin >
142
- <groupId >org.eluder.coveralls</groupId >
143
- <artifactId >coveralls-maven-plugin</artifactId >
144
- <version >3.0.1</version >
145
- </plugin >
146
- <plugin >
147
- <groupId >org.jacoco</groupId >
148
- <artifactId >jacoco-maven-plugin</artifactId >
149
- <version >0.7.2.201409121644</version >
150
- <executions >
151
- <execution >
152
- <id >prepare-agent</id >
153
- <goals >
154
- <goal >prepare-agent</goal >
155
- </goals >
156
- </execution >
157
- </executions >
158
- </plugin >
159
139
160
140
<!-- deployment -->
161
141
<plugin >
173
153
</build >
174
154
175
155
<profiles >
156
+ <profile >
157
+ <id >record-coverage</id >
158
+ <build >
159
+ <plugins >
160
+ <plugin >
161
+ <groupId >org.eluder.coveralls</groupId >
162
+ <artifactId >coveralls-maven-plugin</artifactId >
163
+ <version >3.0.1</version >
164
+ </plugin >
165
+ <plugin >
166
+ <groupId >org.jacoco</groupId >
167
+ <artifactId >jacoco-maven-plugin</artifactId >
168
+ <version >0.7.2.201409121644</version >
169
+ <executions >
170
+ <execution >
171
+ <id >prepare-agent</id >
172
+ <goals >
173
+ <goal >prepare-agent</goal >
174
+ </goals >
175
+ </execution >
176
+ </executions >
177
+ </plugin >
178
+ </plugins >
179
+ </build >
180
+ </profile >
176
181
<profile >
177
182
<id >build-extras</id >
178
183
<activation >
You can’t perform that action at this time.
0 commit comments