Created
June 19, 2017 14:26
-
-
Save muschellij2/a9f47a773138fef7f442a797d236faae to your computer and use it in GitHub Desktop.
ANTsRCore Check Script
This file contains hidden or 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
source ~/.R/Makevars | |
export CXX=clang++ | |
export CC=clang | |
cd .. | |
travis_wait 100 R CMD build ANTsRCore ${R_BUILD_ARGS} | |
PKG_FILE_NAME=$(ls -1t *.tar.gz | head -n 1) | |
if [[ ${#TRAVIS_TAG} -eq 0 ]]; | |
then | |
travis_wait 100 R CMD check ${R_CHECK_ARGS} "${PKG_FILE_NAME}" --no-manual; | |
fi # --as-cran | |
mydir=${PWD} | |
if [[ ${#TRAVIS_TAG} -gt 0 ]]; | |
then | |
travis_wait 100 R CMD INSTALL --build ANTsRCore; | |
PKG_FILE_NAME=$(ls -1t *.tar.gz | head -n 1); | |
if [ "$TRAVIS_OS_NAME" == "osx" ]; | |
then | |
PKG_FILE_NAME=$(ls -1t *.tgz | head -n 1); | |
fi; | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment