-
Notifications
You must be signed in to change notification settings - Fork 987
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
Merged
Merged
travis do only 2 builds #3360
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,36 @@ | ||
# | ||
# Travis configuration guide for R language: | ||
# https://docs.travis-ci.com/user/languages/r/ | ||
# https://github.com/craigcitro/r-travis/wiki/Porting-to-native-R-support-in-Travis | ||
# | ||
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 | ||
|
||
branches: | ||
only: | ||
- "master" | ||
|
||
r: | ||
- oldrel | ||
- release | ||
- devel | ||
|
||
os: | ||
- linux | ||
- osx | ||
|
||
matrix: | ||
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 commentThe reason will be displayed to describe this comment to others. Learn more. ideally this |
||
export PATH="/usr/local/opt/llvm/bin:$PATH" && | ||
export LDFLAGS="-L/usr/local/opt/llvm/lib" && | ||
export CFLAGS="-I/usr/local/opt/llvm/include"; fi | ||
|
||
r_packages: | ||
- covr | ||
- drat | ||
- covr # used for code coverage reports in github pull requests | ||
- drat # used in deploy.sh to publish tar.gz to github.io/Rdatatable/data.table | ||
- devtools # explicitly named temp fix for #2801 | ||
|
||
before_script: | ||
- echo "Revision:" $TRAVIS_COMMIT >> ./DESCRIPTION | ||
|
||
after_success: | ||
- travis_wait Rscript -e 'library(covr);codecov()' | ||
- travis_wait Rscript -e 'library(covr); codecov()' | ||
- test $TRAVIS_REPO_SLUG == "Rdatatable/data.table" && | ||
test $TRAVIS_PULL_REQUEST == "false" && | ||
test $TRAVIS_BRANCH == "master" && | ||
|
@@ -59,5 +45,6 @@ env: | |
global: | ||
- PKG_CFLAGS="-O3 -Wall -pedantic" | ||
- _R_CHECK_NO_STOP_ON_TEST_ERROR_=true | ||
- _R_CHECK_CRAN_INCOMING_REMOTE_=false | ||
# drat using @jangorecki token | ||
- secure: "CxDW++rsQApQWos+h1z/F76odysyD6AtXJrDwlCHlgqXeKJNRATR4wZDDR18SK+85jUqjoqOvpyrq+5kKuyg6AnA/zduaX2uYE5mcntEUiyzlG/jJUKbcJqt22nyAvFXP3VS60T2u4H6IIhVmr7dArdxLkv8W+pJvf2Tg6kx8Ws=" |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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