From f8af568f74bcab76834c0b23bb3c6e7f65ca359b Mon Sep 17 00:00:00 2001 From: hyukjinkwon Date: Mon, 30 Nov 2015 16:52:16 -0800 Subject: [PATCH] Scoverage and Codecov integration Fixes #1. I added a Codecov tag at README.md and added the curl to update reports after testing. Author: hyukjinkwon Closes #12 from HyukjinKwon/ISSUE-1-codecov. --- .travis.yml | 4 +++- README.md | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fa78fed2..951f83f9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,8 +27,10 @@ matrix: scala: 2.11.7 env: TEST_SPARK_VERSION="1.5.0" script: - - sbt -Dspark.testVersion=$TEST_SPARK_VERSION ++$TRAVIS_SCALA_VERSION test + - sbt -Dspark.testVersion=$TEST_SPARK_VERSION ++$TRAVIS_SCALA_VERSION coverage test - sbt ++$TRAVIS_SCALA_VERSION assembly - sbt ++$TRAVIS_SCALA_VERSION scalastyle - sbt ++$TRAVIS_SCALA_VERSION "test:scalastyle" #- sbt ++$TRAVIS_SCALA_VERSION mima-report-binary-issues +after_success: + - bash <(curl -s https://codecov.io/bash) diff --git a/README.md b/README.md index 267800d2..1c3f7eb5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Spark XML Library [![Build Status](https://travis-ci.org/databricks/spark-xml.svg?branch=master)](https://travis-ci.org/databricks/spark-xml) +# Spark XML Library [![Build Status](https://travis-ci.org/databricks/spark-xml.svg?branch=master)](https://travis-ci.org/databricks/spark-xml) [![codecov.io](http://codecov.io/github/databricks/spark-xml/coverage.svg?branch=master)](http://codecov.io/github/databricks/spark-xml?branch=master) - A library for parsing and querying XML data with Apache Spark, for Spark SQL and DataFrames. The structure and test tools are mostly copied from databricks/spark-csv.