Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Commit

Permalink
Gather test coverage reports for Coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Oliveri committed Mar 20, 2017
1 parent 675d6ac commit 8736fda
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,16 @@ jdk:

install: true

before_script:
- openssl aes-256-cbc -K $encrypted_36f14abec38f_key -iv $encrypted_36f14abec38f_iv
-in settings.xml.enc -out settings.xml -d

script:
- rm -f build/maven/conf/settings.xml
- cp settings.xml build/maven/conf/settings.xml
- ./build/maven/bin/mvn clean deploy --settings=build/maven/conf/settings.xml

before_script:
- openssl aes-256-cbc -K $encrypted_36f14abec38f_key -iv $encrypted_36f14abec38f_iv
-in settings.xml.enc -out settings.xml -d
after_success:
- if [[ "${TRAVIS_JOB_NUMBER}" = *".1"* ]]; then
mvn clean test jacoco:report coveralls:report;
fi
8 changes: 8 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,14 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.3.0</version>
<configuration>
<sourceEncoding>UTF-8</sourceEncoding>
</configuration>
</plugin>
<!-- Uncomment this plugin to enable GPG signing of the artifacts, required in order to release to Maven Central. -->
<!-- <plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down

0 comments on commit 8736fda

Please sign in to comment.