# Sample .travis.yml for R projects.
#
# See README.md for instructions, or for more configuration options,
# see the wiki:
#   https://github.com/craigcitro/r-travis/wiki
# 
# Hack for 'error on warning' except when the warning is about vignette pdfs/html
# Thanks to csgillespie for https://github.com/csgillespie/travis-examples/tree/master/bioconductor
language: c

before_install:
  - curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
  - chmod 755 ./travis-tool.sh
  - sed "s/grep -q WARNING/grep WARNING \| grep -v inst\/doc \| grep -v 'WARNING:.*There was'/" travis-tool.sh > ./tmp.sh
  - mv tmp.sh travis-tool.sh
  - chmod 755 ./travis-tool.sh  
  - ./travis-tool.sh bootstrap
install:
  - ./travis-tool.sh bioc_install IRanges
  - ./travis-tool.sh bioc_install GenomicRanges
  # - ./travis-tool.sh r_binary_install caret
  - ./travis-tool.sh install_deps
  
script: ./travis-tool.sh run_tests

after_failure:
  - ./travis-tool.sh dump_logs

notifications:
  email:
    on_success: change
    on_failure: change

env:
  global:
    - PKG_CFLAGS="-g -O3 -Wall -pedantic"
    - WARNINGS_ARE_ERRORS=1

# Sample .travis.yml for R projects.
#
# See README.md for instructions, or for more configuration options,
# see the wiki:
#   https://github.com/craigcitro/r-travis/wiki
# 
# Hack for 'error on warning' except when the warning is about vignette pdfs/html
# Thanks to csgillespie for https://github.com/csgillespie/travis-examples/tree/master/bioconductor
language: c

before_install:
  - curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
  - chmod 755 ./travis-tool.sh
  - sed "s/grep -q WARNING/grep WARNING \| grep -v inst\/doc \| grep -v 'Status:.*Warning,'/" travis-tool.sh > ./tmp.sh
  - mv tmp.sh travis-tool.sh
  - chmod 755 ./travis-tool.sh  
  - ./travis-tool.sh bootstrap
install:
  - ./travis-tool.sh bioc_install IRanges
  - ./travis-tool.sh bioc_install GenomicRanges
  # - ./travis-tool.sh r_binary_install caret
  - ./travis-tool.sh install_deps
  
script: ./travis-tool.sh run_tests

after_failure:
  - ./travis-tool.sh dump_logs

notifications:
  email:
    on_success: change
    on_failure: change

env:
  global:
    - PKG_CFLAGS="-g -O3 -Wall -pedantic"
    - WARNINGS_ARE_ERRORS=1

Fix for ignoring warnings for 3.2.0
Fix for ignoring warnings for 3.2.0