GitHub user NicoK opened a pull request:

    https://github.com/apache/flink/pull/4293

    [FLINK-7141][build] enable travis cache again

    this re-enables the Travis CI cache with a safety net in place that should 
prevent failing builds because of invalid jar files:
    
    1) we give each job a unique `CACHE_NAME` so that travis should not be the 
reason for invalid caches (see 
https://docs.travis-ci.com/user/caching/#Caches-and-build-matrices )
    2) we quickly check all jar files in `$HOME/.m2` for invalid ones and 
remove them (takes around 30s)
    
    additionally, this time, we also remove all our own artefacts from the 
cache before uploading it

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/NicoK/flink enable_travis_caches

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/4293.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4293
    
----
commit 79048712d3342320fdadf16522c4e96352dbf946
Author: Nico Kruber <n...@data-artisans.com>
Date:   2017-07-06T13:43:43Z

    [FLINK-7141][build] enable travis cache again
    
    This adds some additional checks that should make sure the repository may 
not
    get corrupted or if it was than at least it is cleaned up again.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to