diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..dfa6816 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +language: scala +sudo: false +cache: + directories: + - $HOME/.ivy2 +matrix: + include: + # Spark 1.6.0 + - jdk: openjdk7 + scala: 2.10.5 + env: TEST_SPARK_VERSION="1.6.0" + - jdk: openjdk7 + scala: 2.11.7 + env: TEST_SPARK_VERSION="1.6.0" +script: + - 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)