Add travis configuration.
This commit is contained in:
Родитель
574d9b9235
Коммит
110ff7183c
|
@ -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)
|
Загрузка…
Ссылка в новой задаче