language: r
r: release
sudo: required
cache: packages

env:
 global:
   - CRAN: http://cran.rstudio.com

latex: false
pandoc: false
r_packages:
#  - gWidgets
#  - gWidgetstcltk
  - stringdist
  - igraph
  # - covr

# r packages directly installed from github
r_github_pages:
  - jimhester/covr
  
# before_install:
#  - sudo apt-get install tk

after_success:
  - Rscript -e 'covr::codecov()'
  # or coveralls
  - Rscript -e 'covr::coveralls()'

notifications:
  email: false
language: r
r: release
sudo: required
cache: packages

env:
 global:
   - CRAN: http://cran.rstudio.com

latex: false
pandoc: false
r_packages:
#  - gWidgets
#  - gWidgetstcltk
  - stringdist
  - igraph
  # - covr

# r packages directly installed from github
r_github_pages:
  - jimhester/covr
  
# before_install:
#  - sudo apt-get install tk

after_success:
  - Rscript -e 'covr::codecov()'
  # or coveralls
  - Rscript -e 'covr::coveralls()'

notifications:
  email:
    on_success: never # default: change
    on_failure: always # default: always

Set email notification on upon build failure
Set email notification on upon build failure
