Skip to content

Commit

Permalink
Add travis fix for R-devel (thanks to @jimhester)
Browse files Browse the repository at this point in the history
  • Loading branch information
wch committed Aug 19, 2016
1 parent 7f3b952 commit 1e40043
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ notifications:
email:
on_success: change
on_failure: change

# Set CXX1X for R-devel, as R-devel does not detect CXX1X support for gcc 4.6.3.
# This was causing dependency sourcetools to fail.
before_install:
- if [[ "$TRAVIS_R_VERSION_STRING" = 'devel' ]]; then mkdir ~/.R && echo 'CXX1X=g++ -std=c++0x -g -O2 -fPIC' > ~/.R/Makevars; fi

0 comments on commit 1e40043

Please sign in to comment.