language: java
sudo: false
install: mvn ${JAVA} ${SPARK} -DskipTests=true -Dmaven.javadoc.skip=true -B -V install
script: mvn ${JAVA} ${SPARK} ${JACOCO} -Dmaven.javadoc.skip=true -B verify
matrix:
 include:
   # Covers Java 7, Open JDK, and code coverage
   - jdk: openjdk7
     env: JACOCO=-Pjacoco
   # Covers Java 8, Oracle JDK
   - jdk: oraclejdk8
     env: JAVA=-Djava.version=1.8
cache:
  directories:
    - $HOME/.m2
after_success: if [ -n "$JACOCO" ]; then bash <(curl -s https://codecov.io/bash); fi

language: java
sudo: false
install: mvn ${JAVA} ${SPARK} -DskipTests=true -Dmaven.javadoc.skip=true -B -V install
script: mvn ${JAVA} ${SPARK} ${JACOCO} -Dmaven.javadoc.skip=true -B verify
matrix:
 include:
   # Covers Java 7, Open JDK, Spark 1.3.x, and code coverage
   - jdk: openjdk7
     env: JACOCO=-Pjacoco
   # Covers Spark 1.4.x
   - jdk: openjdk7
     env: SPARK=-Dspark.version=1.4.1
   # Covers Spark 1.5.x
   - jdk: openjdk7
     env: SPARK=-Dspark.version=1.5.1
   # Covers Java 8, Oracle JDK
   - jdk: oraclejdk8
     env: JAVA=-Djava.version=1.8
cache:
  directories:
    - $HOME/.m2
after_success: if [ -n "$JACOCO" ]; then bash <(curl -s https://codecov.io/bash); fi

Add tests for Spark 1.4 / 1.5 in Travis
Add tests for Spark 1.4 / 1.5 in Travis
