Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Jacoco working, but failing tests due to reflection * Fix code coverage by ignoring synthetic members jacoco code coverage was failing due to detecting synthetic members. This was apparently bad practice as detailed [here](https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/jacoco/3wT1WmrRPBA/WgtY21EKHQAJ)
- Loading branch information
Showing
3 changed files
with
53 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,34 @@ | ||
language: java | ||
install: true | ||
|
||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) | ||
|
||
before_cache: | ||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | ||
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ | ||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | ||
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ | ||
|
||
cache: | ||
directories: | ||
- "$HOME/.gradle/caches/" | ||
- "$HOME/.gradle/wrapper/" | ||
- "$HOME/.gradle/caches/" | ||
- "$HOME/.gradle/wrapper/" | ||
before_install: | ||
- chmod +x gradlew | ||
- chmod +x gradlew | ||
|
||
stages: | ||
- name: build | ||
- name: release | ||
if: tag IS present | ||
- name: build | ||
- name: release | ||
if: tag IS present | ||
|
||
jobs: | ||
include: | ||
- stage: build | ||
script: | ||
- "./gradlew build --scan -s" | ||
- stage: release | ||
script: | ||
- "./gradlew -Prelease.useLastTag=true final --info --stacktrace" | ||
secure: vWij4zhptWiQqJ06IYHu04Mow5ODf6JowPFtTDu8uGCxt9L3AhEnjWdNvrhKOSx3jSYIGrK+jVGzGm2Y/73W7DJCEroFrLzUqmONY2hRnC60n6m56d29ymmwdsP+ffgujwmHd56LDMIT5tT+o4X1Bu1c6uYZpuvR0KSNxjbQjYpaq4mKx8fwd6WEFQz9N1RThtvtBbkXUJ4yCXgt5MDSUaHKGE4VC9tIDQB3oibm1RVeVM9YURenigbpL54V7U0A2edOgrOB9uFnp8fqVJ+Jugc6tFSVDTAPMczs20TtZPU5CeXc5Bo5Fk0tRrU8uhpsraLCoPPQgtUnlRYY3TD8HyWtVXEohhvIM48i4u+VC4twsD0T2MbGwiGKbaE1KWu1gwzx12nbjQqFqfEF6RyTkHQXmFFENeRiHP50dzrLXwyOgMv2iUan8ffuXImysIPHTLMyQ47GFxznpX5vfbu44RCQLCZQwvQo0/Zq3LUzQ1VPUAA+1WikdVqvbyKm+51vTVhn7aqVt1WdmddAhcQMH3rQM+3ryA4vuWzmfsge+gxufhBdb2j37J32iGc8T6/hCG7HKn7Afia8uEjEJBRpMQpk1mTDuCRJ4RoTIrF1oqDeV8yGsebdTMdGFJsVUCa1bk139A0V3qW4ys7hIBm8ZRuo5JI/59hKZSdBGjsKnbI= | ||
- stage: build | ||
script: | ||
- "./gradlew build --scan -s" | ||
- stage: release | ||
script: | ||
- "./gradlew -Prelease.useLastTag=true final --info --stacktrace" | ||
|
||
env: | ||
global: | ||
secure: DsBw6sx7/16MmjLtmWrLGRmh3oVXC69F5xteb7oXF8uGY7p70u1WJK55N/UU5thKC06r/Q/5CzCvpYIQx3N9U3BnIt2MOpXiNoW7BcsRmhxgGn2inVDVeBFCz9YMASnGeMuSTg2EH3d25d9kxrRqyZCw3juOz+MVn5kHkHoTd1MKZFhwp9gosWfJDLuCV+cCp5fyizlmbNXnMubUDKxsluBEYoEue1yI3OMvoRZp8Kqu0EUk7Zn+FIG9F5SHLpWPn7YQS1coVrMPIvv7IaQpw4Jh+jNS4xL39yiD/M/ZaD0cln5B0uHlxJjb1bI+I9B9rtli8SJPKQKbo7ZB1oG9n+AeipBnON0N8DHUbS833mYV0lSio27rD9Ze9xpMTY9n3VhI1SrBzKYXs5w/iUWmdWPc2IXMreluq5cbr4d5+9Hg/sjFth5nk5bhW1N5TVYNO85ZM9Of9jTjJGxLAMt4eFYb4D6zyG5dBlYW3jbVF2Y+Za7oHb+UY/IJKb1qW93EZsGLKatZpwxV2/w0KqekeLIz0ABffIANL4k7J1k1uD5N4ugShDM65NDpVvHLZXc2kocVHF0AYddjy/BLJCnnInh0+YMrhWrkUSbl1YyXDADrud/nePE/MHQG0acYzCoe2IaME2o/ADvWSMl0Qi2rlQ0AfWdDQjL3arfAj6Ea2Ao= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters