From b44498167c4f4507f75fe030474123ac0b66c446 Mon Sep 17 00:00:00 2001 From: jona-ort Date: Tue, 5 May 2020 18:12:45 -0400 Subject: [PATCH 1/2] Final Project #2 Add Tests Add testing script to travis ci yaml file. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c84b33ab8..91bc79d1f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,4 +6,4 @@ install: - ./gradlew clean jar script: - - echo 'Tests comming soon' + - ./gradlew test From d42de1b018195c35ef3f02af7f658de4ed7d567a Mon Sep 17 00:00:00 2001 From: jona-ort Date: Tue, 5 May 2020 18:36:19 -0400 Subject: [PATCH 2/2] Final project #3 Add test coverage report --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 91bc79d1f..0c5c7c87b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,3 +7,7 @@ install: script: - ./gradlew test + +after_success: + - ./gradlew jacocoTestReport + - find . -name jacocoTestReport.csv|xargs cat|awk -F',' '{print $3" "$4" "$5}'