Skip to content

Commit 5e4edba

Browse files
author
travis-ci
committed
Including integration tests in travis run and code coverage
1 parent d2e2851 commit 5e4edba

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ deploy:
3232
on:
3333
tags: true
3434
- provider: script
35-
script: mvn package com.gavinmogan:codacy-maven-plugin:coverage -DcoverageReportFile=target/site/jacoco/jacoco.xml -DprojectToken=$CODACY_PROJECT_TOKEN -DapiToken=$CODACY_API_TOKEN
35+
script: mvn test com.gavinmogan:codacy-maven-plugin:coverage -DcoverageReportFile=target/site/jacoco/jacoco.xml -DprojectToken=$CODACY_PROJECT_TOKEN -DapiToken=$CODACY_API_TOKEN
3636
on:
3737
branch: master
3838
- provider: script

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@
166166
<version>${maven.failsafe.version}</version>
167167
<executions>
168168
<execution>
169+
<phase>test</phase>
169170
<goals>
170171
<goal>integration-test</goal>
171172
<goal>verify</goal>

0 commit comments

Comments
 (0)