diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..2fe4ba4 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,23 @@ +language: scala + +sudo: false + +# Cache settings here are based on latest SBT documentation. +cache: + directories: + - $HOME/.ivy2/cache + - $HOME/.sbt/boot/ + +before_cache: + # Tricks to avoid unnecessary cache updates + - find $HOME/.ivy2 -name "ivydata-*.properties" -delete + - find $HOME/.sbt -name "*.lock" -delete + +scala: + - 2.11.8 + +jdk: + - oraclejdk8 + +script: + - sbt ++$TRAVIS_SCALA_VERSION clean publish-local diff --git a/README.md b/README.md index 2d0fdac..4fff129 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Build Status](https://travis-ci.org/tapanalyticstoolkit/spark-tensorflow-connector.svg?branch=sbt)](https://travis-ci.org/tapanalyticstoolkit/spark-tensorflow-connector) + # spark-tensorflow-connector This repo contains a library for loading and storing TensorFlow records with [Apache Spark](http://spark.apache.org/).