haveno/.travis.yml
Chris Beams 43cf337fe4
Support code coverage using JaCoCo and Coveralls
The Gradle build now supports generating code coverage reports using
JaCoCo. The reports can be run with:

    ./gradle jacocoTestReport

and then view the HTML output at:

    build/reports/jacoco/test/html/index.html

The bitsquare repository has now also been registered with a (free)
account at http://coveralls.io. Our Travis CI configuration has been
updated to publish JaCoCo XML test report data to coveralls.io, which
results in the reports found at:

 - https://coveralls.io/r/bitsquare/bitsquare

For more information on the JaCoCo and Coveralls Gradle plugins, see:

 - http://www.gradle.org/docs/current/userguide/jacoco_plugin.html
 - https://github.com/kt3k/coveralls-gradle-plugin
2014-11-03 13:56:14 +01:00

27 lines
610 B
YAML

language: java
jdk: oraclejdk8
install:
- "sudo apt-get purge openjdk*"
- "sudo add-apt-repository -y ppa:webupd8team/java"
- "sudo apt-get update"
- "sudo apt-get install oracle-java8-installer"
notifications:
irc:
channels: chat.freenode.net#bitsquare
template:
- '%{message} (%{repository}#%{build_number}, %{duration})'
- '%{repository}/%{branch} %{commit} %{author}: %{commit_message}'
- '%{build_url}'
on_success: change
on_failure: always
use_notice: true
skip_join: true
env:
- TERM=dumb
after_success:
- ./gradlew jacocoTestReport coveralls