Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1f3bd37
commit 6ad123c
Showing
3 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
BASE_DIR=$(dirname $0)/.. | ||
|
||
|
||
echo "building Flink PS on $TRAVIS_OS_NAME at $BASE_DIR" | ||
|
||
git submodule update --init --recursive | ||
|
||
sed -i 's/lazy val flinkVersion = \"1.2.0\"/lazy val flinkVersion = \"1.3.2\"/g' $BASE_DIR/external/flink-parameter-server/build.sbt | ||
sed -i 's/addSbtPlugin(\"com.eed3si9n\" \% \"sbt-assembly\" \% \"0.14.3\")/addSbtPlugin(\"com.eed3si9n\" \% \"sbt-assembly\" % \"0.14.5\")/g' $BASE_DIR/external/flink-parameter-server/project/assembly.sbt | ||
grep -q isSnapshot $BASE_DIR/external/flink-parameter-server/build.sbt || sed -i 's/organization := \"hu.sztaki.ilab\"\,/organization := \"hu.sztaki.ilab\"\, \ | ||
isSnapshot := true,/g' $BASE_DIR/external/flink-parameter-server/build.sbt | ||
grep -q ThisBuild $BASE_DIR/external/flink-parameter-server/build.sbt || sed -i 's/lazy val breezeVersion = \"0.13\"/lazy val breezeVersion = \"0.13\" \ | ||
resolvers in ThisBuild ++= Seq(Resolver.mavenLocal)/g' $BASE_DIR/external/flink-parameter-server/build.sbt | ||
|
||
cd $BASE_DIR/external/flink-parameter-server | ||
sbt clean publishM2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters