[ 
https://issues.apache.org/jira/browse/FLINK-7141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16080195#comment-16080195
 ] 

ASF GitHub Bot commented on FLINK-7141:
---------------------------------------

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 <[email protected]>
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.

----


> enable travis cache again
> -------------------------
>
>                 Key: FLINK-7141
>                 URL: https://issues.apache.org/jira/browse/FLINK-7141
>             Project: Flink
>          Issue Type: Improvement
>          Components: Build System, Travis
>    Affects Versions: 1.4.0
>            Reporter: Nico Kruber
>            Assignee: Nico Kruber
>
> In the past, we had some troubles with the travis cache but in general it may 
> be a good idea to include it again to speed up build times by reducing the 
> time the maven downloads take.
> This time, we should also deal with corrupt files in the maven repository and 
> [tune 
> travis|https://docs.travis-ci.com/user/caching/#Caches-and-build-matrices] so 
> that it does not create corrupt caches in the first place.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to