Skip to content

Commit

Permalink
Scoverage and Codecov integration
Browse files Browse the repository at this point in the history
Fixes databricks#1.

I added a Codecov tag at README.md and added the curl to update reports after testing.

Author: hyukjinkwon <[email protected]>

Closes databricks#12 from HyukjinKwon/ISSUE-1-codecov.
  • Loading branch information
HyukjinKwon authored and JoshRosen committed Dec 1, 2015
1 parent 4fa8477 commit f8af568
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit f8af568

Please sign in to comment.