You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ke...@apache.org on 2016/08/09 16:51:25 UTC
[1/2] incubator-beam git commit: Cache .m2 directory on Travis-CI
Repository: incubator-beam
Updated Branches:
refs/heads/master 5049011a2 -> 7da1a3dee
Cache .m2 directory on Travis-CI
Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/630ae250
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/630ae250
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/630ae250
Branch: refs/heads/master
Commit: 630ae25017764a83cfd6dd6c1ac3d8eae2abfbb4
Parents: 5049011
Author: Kenneth Knowles <kl...@google.com>
Authored: Thu Aug 4 15:12:03 2016 -0700
Committer: Kenneth Knowles <kl...@google.com>
Committed: Mon Aug 8 14:41:19 2016 -0700
----------------------------------------------------------------------
.travis.yml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/630ae250/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index bef61ff..43ae7de 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -47,6 +47,20 @@ before_install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then jdk_switcher use "$CUSTOM_JDK"; fi
- export BEAM_SUREFIRE_ARGLINE="-Xmx512m"
+install:
+ # Removing this here protects from inadvertent caching
+ - rm -rf "$HOME/.m2/repository/org/apache/beam"
+
script:
- travis_retry mvn --batch-mode --update-snapshots $MAVEN_OVERRIDE verify
- travis_retry testing/travis/test_wordcount.sh
+
+cache:
+ directories:
+ - $HOME/.m2/repository
+
+before_cache:
+ # Removing here increases cache hits (makes the above
+ # rm in `install` redundant unless our config has a bug,
+ # but it will be idempotent)
+ - rm -rf "$HOME/.m2/repository/org/apache/beam"
[2/2] incubator-beam git commit: This closes #791
Posted by ke...@apache.org.
This closes #791
Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/7da1a3de
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/7da1a3de
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/7da1a3de
Branch: refs/heads/master
Commit: 7da1a3dee0089acb7c791ec6d06f6b498334970a
Parents: 5049011 630ae25
Author: Kenneth Knowles <kl...@google.com>
Authored: Tue Aug 9 09:50:54 2016 -0700
Committer: Kenneth Knowles <kl...@google.com>
Committed: Tue Aug 9 09:50:54 2016 -0700
----------------------------------------------------------------------
.travis.yml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
----------------------------------------------------------------------