diff --git a/.travis.yml b/.travis.yml index a868c3cd2..6cdda7774 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,5 +2,16 @@ language: java jdk: - oraclejdk8 - openjdk7 + +env: + # encrypted Codacy key, see https://docs.travis-ci.com/user/encryption-keys/ + - secure: "VmS4He99YlI6rdmw8Q25OZ9kUp11sRbt0W1QMBvA5lzNSmhN1Q1KtaMj9AGwpCZWcyGWri4AQxEmloARxACxQHXRmNE7ro2DESGw46RAocBAf+RfBxYTifIyUGu5TnSCQhz56SkgpyWpedZAZWyah9ZxgUMfet4KXFUfeiUgYQA=" -script: ./refine test +before_install: + - wget -O ~/codacy-coverage-reporter-assembly-latest.jar https://github.com/codacy/codacy-coverage-reporter/releases/download/2.0.0/codacy-coverage-reporter-2.0.0-assembly.jar + +script: ./refine server_test + +after_success: + - java -cp ~/codacy-coverage-reporter-assembly-latest.jar com.codacy.CodacyCoverageReporter -l Java -r build/report/jacoco.xml + diff --git a/README.md b/README.md index 9cb37cadb..5f7c925ab 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # OpenRefine -[![Build Status](https://travis-ci.org/OpenRefine/OpenRefine.png?branch=master)](https://travis-ci.org/OpenRefine/OpenRefine) [![Bountysource](https://www.bountysource.com/badge/tracker?tracker_id=32795)](https://www.bountysource.com/trackers/32795-open-refine?utm_source=32795&utm_medium=shield&utm_campaign=TRACKER_BADGE) +[![Build Status](https://travis-ci.org/OpenRefine/OpenRefine.png?branch=master)](https://travis-ci.org/OpenRefine/OpenRefine) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/210578308bba42c5922c767493e83cf4)](https://www.codacy.com/app/OpenRefine/OpenRefine) [![Bountysource](https://www.bountysource.com/badge/tracker?tracker_id=32795)](https://www.bountysource.com/trackers/32795-open-refine?utm_source=32795&utm_medium=shield&utm_campaign=TRACKER_BADGE) OpenRefine is a power tool that allows you to load data, understand it, clean it up, reconcile it, and augment it with data coming from diff --git a/build.xml b/build.xml index dcdafcfe5..eed298a84 100644 --- a/build.xml +++ b/build.xml @@ -6,7 +6,7 @@ | +--> - + @@ -49,6 +49,9 @@ + + + @@ -171,13 +174,35 @@ + + + + - - - + + + + + + + + + + + + + + + + + + + + + diff --git a/main/tests/server/lib/jacocoant.jar b/main/tests/server/lib/jacocoant.jar new file mode 100644 index 000000000..e6c0d7861 Binary files /dev/null and b/main/tests/server/lib/jacocoant.jar differ