Skip to content

Commit

Permalink
Merge pull request #257 from rnc/NCL6078
Browse files Browse the repository at this point in the history
NCL-6078 Add code coverage
  • Loading branch information
rnc authored Jan 7, 2021
2 parents 96b04cd + 0ec25d2 commit 4ece72c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,28 +44,31 @@ jobs:
- stage: test
name: "Gradle 5.6.4"
if: type = pull_request
script: "travis-wait-enhanced --timeout=60m --interval=4m -- ./gradlew --no-daemon --stacktrace clean build"
script: "travis-wait-enhanced --timeout=60m --interval=4m -- ./gradlew --no-daemon --stacktrace clean build AggregateJacocoReport"

- stage: test
name: "Gradle 6.4.1"
if: type = pull_request
script:
- export GRADLE_HOME=$HOME/bin/gradle-6.4.1
- export PATH=$GRADLE_HOME/bin:$PATH
- travis-wait-enhanced --timeout=60m --interval=4m -- gradle --no-daemon --stacktrace clean build
- travis-wait-enhanced --timeout=60m --interval=4m -- gradle --no-daemon --stacktrace clean build AggregateJacocoReport

- stage: test
name: "Gradle 6.5.1"
if: type = pull_request
script:
- export GRADLE_HOME=$HOME/bin/gradle-6.5.1
- export PATH=$GRADLE_HOME/bin:$PATH
- travis-wait-enhanced --timeout=60m --interval=4m -- gradle --no-daemon --stacktrace clean build
- travis-wait-enhanced --timeout=60m --interval=4m -- gradle --no-daemon --stacktrace clean build AggregateJacocoReport

- stage: test
name: "Gradle 6.7.1"
if: type = pull_request
script:
- export GRADLE_HOME=$HOME/bin/gradle-6.7.1
- export PATH=$GRADLE_HOME/bin:$PATH
- travis-wait-enhanced --timeout=60m --interval=4m -- gradle --no-daemon --stacktrace clean build
- travis-wait-enhanced --timeout=60m --interval=4m -- gradle --no-daemon --stacktrace clean build AggregateJacocoReport

after_success:
- '[ "$TRAVIS_OS_NAME" = "linux" ] && bash <(curl -s https://codecov.io/bash) -f build/reports/jacoco/aggregate/jacocoTestReport.xml'
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ plugins {
id("net.linguica.maven-settings") version "0.5"
id("net.researchgate.release") version "2.8.1"
id("org.ajoberstar.grgit") version "4.1.0"
id("org.kordamp.gradle.jacoco") version "0.42.1"
}

apply(plugin = "net.researchgate.release")
Expand Down

0 comments on commit 4ece72c

Please sign in to comment.