beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject [1/2] incubator-beam git commit: Update .travis.yml
Date Tue, 08 Mar 2016 00:52:24 GMT
Repository: incubator-beam
Updated Branches:
  refs/heads/master 9931638d9 -> bfcf3c5bd


Update .travis.yml

Revert "mvn verify" back to "mvn install" since it breaks the following script. When we are
at it, update the script to be less sensitive whether artifacts are installed.

This doesn't fully fix the Travis coverage, since there's still too much logging generated
in the 'verify' phase.


Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/f8da287f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/f8da287f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/f8da287f

Branch: refs/heads/master
Commit: f8da287fba60f17580f0ab9d4a29c740cf049c05
Parents: 9931638
Author: Davor Bonaci <davor@google.com>
Authored: Fri Mar 4 17:16:36 2016 -0800
Committer: Davor Bonaci <davor@google.com>
Committed: Mon Mar 7 16:32:59 2016 -0800

----------------------------------------------------------------------
 .travis.yml              | 3 +--
 travis/test_wordcount.sh | 3 ++-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/f8da287f/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 973618b..95baf69 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,6 +30,5 @@ install:
   - travis_retry mvn install clean -U -DskipTests=true
 
 script:
-  - travis_retry mvn versions:set -DnewVersion=manual_build
-  - travis_retry mvn $MAVEN_OVERRIDE verify -U
+  - travis_retry mvn $MAVEN_OVERRIDE install -U
   - travis_retry travis/test_wordcount.sh

http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/f8da287f/travis/test_wordcount.sh
----------------------------------------------------------------------
diff --git a/travis/test_wordcount.sh b/travis/test_wordcount.sh
index 2e8a58b..fdb9d10 100755
--- a/travis/test_wordcount.sh
+++ b/travis/test_wordcount.sh
@@ -18,7 +18,8 @@ set -e
 set -o pipefail
 
 PASS=1
-JAR_FILE=examples/target/google-cloud-dataflow-java-examples-all-bundled-manual_build.jar
+VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version
| grep -v '\[')
+JAR_FILE=examples/target/google-cloud-dataflow-java-examples-all-bundled-${VERSION}.jar
 
 function check_result_hash {
   local name=$1


Mime
View raw message