Skip to content

Commit

Permalink
Tweaked conditional deployment in .travis.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
rubak committed Mar 31, 2016
1 parent 116b0b2 commit b89dc2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ os:
r_github_packages:
- jimhester/covr
after_success:
- R CMD INSTALL $PKG_TARBALL
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then R CMD INSTALL --build $PKG_TARBALL; fi
- Rscript -e 'covr::codecov(type = "examples")'
- if [ "$TRAVIS_R_VERSION != devel && ("$TRAVIS_OS_NAME" == "osx") ]; then R CMD INSTALL --build $PKG_TARBALL; fi
- if [ "$TRAVIS_R_VERSION != devel && ("$TRAVIS_OS_NAME" == "linux") ]; then R CMD INSTALL $PKG_TARBALL; fi
- if [ "$TRAVIS_R_VERSION != devel && ("$TRAVIS_OS_NAME" == "linux") ]; then Rscript -e 'covr::codecov(type = "examples")'; fi
deploy:
provider: releases
api_key:
Expand All @@ -22,4 +22,4 @@ deploy:
file: polyclip_*.t*gz
on:
tags: true
condition: "$TRAVIS_R_VERSION != devel"
condition: "$TRAVIS_R_VERSION != devel && ($TRAVIS_OS_NAME == osx)"

0 comments on commit b89dc2e

Please sign in to comment.