Turn off Travis caching to test Stackage issues#1361
Conversation
|
Yes this fixes the issue but builds take 10-15 mins again. /cc @phadej Any ideas? |
|
Perhaps we could cache the sandbox in a different place for each separate build? /cc @hdgarrood |
I thought Travis already did this; I thought there was one cache per entry in the build matrix. I think there's an interface for this inside the web UI? Can you have a look in there and see what it says? |
|
I only see a cache settings page where I can delete caches, and caches are labelled by PR number. It doesn't seem to have anything to do with the particular build. |
|
Ah, ok. I guess we've gotten away with it so far because packages for each compiler version are kept separately in the sandbox, and this is becoming a problem now because we are trying to install different versions of one package in the same sandbox with the same compiler then? I think caching separate sandboxes for each build may well be the best way then. Perhaps we could have a |
|
Let's see if that does anything. |
|
This seems to be working. Fingers crossed. @hdgarrood Could you please review? |
|
It's obviously getting the paths right, but doesn't seem to be finding the cached files. |
|
Specifically, I always see |
|
This all looks ok to me. Sorry, I can't work out what's going on here. |
|
Yeah, it seems to be succeeding now. I think it just needed to warm up or something. |
7b395be to
e49e123
Compare
Turn off Travis caching to test Stackage issues
|
👍 nice you got this figured out http://docs.travis-ci.com/user/caching/#Fetching-and-storing-caches say
Looks like based on your experience, that not per env specification. I'll check travis own issue tracker and make an issue if not there yet. Also better cache inspection tools would be great too. |
|
There was an issue already: travis-ci/travis-ci#4393 |
|
I came across this again while working on #1974 and found a slightly hacky solution that does seem to allow us to have separate caches for each entry in the build matrix, by the way: hdgarrood@7e88f3d |
Just a test to see what Travis build times are like without caching. Hopefully this fixes the Stackage issue.