Skip to content

Commit

Permalink
Also travis test on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
jankatins committed May 13, 2016
1 parent a081831 commit a192b21
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis-build.sh
Expand Up @@ -23,8 +23,8 @@ travis_fold end Building
travis_fold start Checking
bootstrap_header 'Checking package'
export PKG_TARBALL=$(Rscript -e "with(as.list(read.dcf('DESCRIPTION')[1, ]), cat(sprintf('%s_%s.tar.gz', Package, Version)))")
R CMD check $PKG_TARBALL # could also use --as-cran
export CHECK_LOG=/home/travis/build/IRkernel/IRkernel/IRkernel.Rcheck/00check.log
R CMD check $PKG_TARBALL # could also use --as-cran
travis_fold end Checking

travis_fold start Installing
Expand Down
9 changes: 9 additions & 0 deletions .travis.yml
@@ -1,3 +1,7 @@
os:
- linux
- osx

language: r
sudo: false
cache: packages
Expand Down Expand Up @@ -25,3 +29,8 @@ script:
# TODO: currently we do have 1 NOTE: Found the following assignments to the global environment...
#- grep -q -R 'NOTE' "$CHECK_LOG"; [ $? -ne 0 ]

after_failure:
- travis_fold start check_log
- bootstrap_header 'Check log'
- cat "$CHECK_LOG"
- travis_fold end check_log

0 comments on commit a192b21

Please sign in to comment.