-
Notifications
You must be signed in to change notification settings - Fork 988
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
travis do only 2 builds #3360
travis do only 2 builds #3360
Conversation
language: r | ||
dist: trusty | ||
sudo: required | ||
cache: packages | ||
warnings_are_errors: true | ||
r_check_args: "" | ||
# empty r_check_args to turn off --as-cran (on by default) as that can be slow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_R_CHECK_CRAN_INCOMING_REMOTE_=false
defined below should resolve problem of slow --as-cran
exclude: | ||
- r: devel # exclude osx r-devel build as it is currently unstable | ||
os: osx | ||
|
||
before_install: | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install llvm && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ideally this install llvm
we would like to speed up
Hi @jangorecki , yes, I see that the We could cache the cache:
directories:
- $HOME/Library/Caches/Homebrew
before_cache:
- brew cleanup But as Travis stores the cache at a storage provider (see this doc), I don't think that downloading from the cache will be much faster than a direct download. Also, following the Travis documentation on caching it seems that we should be able to cache the Some more testing to be done I think... |
Thanks @MarcusKlik for detailed answer on that. I think we can also remove test coverage report from OSX build. It takes 330s and linux test coverage should be enough. |
Closes #3357
it takes now 20min. Osx build is slow, takes 15min, probably because of installing llvm each time. @MarcusKlik any idea if we can cache that somehow?