You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bahir.apache.org by lr...@apache.org on 2017/05/17 16:12:23 UTC

bahir-flink git commit: [BAHIR-119] Extend Travis Ci profile to support Scala 2.10 and 2.11

Repository: bahir-flink
Updated Branches:
  refs/heads/master 357c775cb -> 4eca1a20a


[BAHIR-119] Extend Travis Ci profile to support Scala 2.10 and 2.11


Project: http://git-wip-us.apache.org/repos/asf/bahir-flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/bahir-flink/commit/4eca1a20
Tree: http://git-wip-us.apache.org/repos/asf/bahir-flink/tree/4eca1a20
Diff: http://git-wip-us.apache.org/repos/asf/bahir-flink/diff/4eca1a20

Branch: refs/heads/master
Commit: 4eca1a20a6ed21e1657c01b4479af5581e49ae48
Parents: 357c775
Author: Luciano Resende <lr...@apache.org>
Authored: Wed May 17 11:32:06 2017 -0400
Committer: Luciano Resende <lr...@apache.org>
Committed: Wed May 17 12:12:11 2017 -0400

----------------------------------------------------------------------
 .travis.yml | 29 ++++++++++++++++++++++-------
 1 file changed, 22 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bahir-flink/blob/4eca1a20/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 53f31a5..6f633e0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,14 +17,29 @@
 
 language: java
 
-env:
-  - FLINK_VERSION="1.2.0"
+matrix:
+  include:
+    - jdk: oraclejdk8
+      env: FLINK_VERSION="1.2.0" SCALA_VER="2.11"
 
-jdk:
-  - oraclejdk8
-  - oraclejdk7
-  - openjdk7
+    - jdk: oraclejdk8
+      env: FLINK_VERSION="1.2.0" SCALA_VER="2.10"
+
+    - jdk: oraclejdk7
+      env: FLINK_VERSION="1.2.0" SCALA_VER="2.11"
+
+    - jdk: oraclejdk7
+      env: FLINK_VERSION="1.2.0" SCALA_VER="2.10"
+
+    - jdk: openjdk7
+      env: FLINK_VERSION="1.2.0" SCALA_VER="2.11"
+
+    - jdk: openjdk7
+      env: FLINK_VERSION="1.2.0" SCALA_VER="2.10"
+
+before_install:
+  - ./dev/change-scala-version.sh $SCALA_VER
 
 install: true
 
-script: mvn clean verify -Dflink.version=$FLINK_VERSION
+script: mvn clean verify -Pscala-$SCALA_VER -Dflink.version=$FLINK_VERSION