Skip to content

Commit

Permalink
add travis support
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausVigo committed Dec 6, 2018
1 parent 3c6d8cb commit 32954c2
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
^\.travis\.yml$
^.*\.Rproj$
^\.Rproj\.user$
42 changes: 42 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Sample .travis.yml for R projects from https://github.com/craigcitro/r-travis

language: r

# sudo: required

r:
- release
- devel

warnings_are_errors: false

cran: http://cran.at.r-project.org

cache: packages

r_packages:
- devtools

r_github_packages:
- jimhester/covr

after_success:
- Rscript -e 'library(covr);coveralls();codecov()'

notifications:
email:
on_success: change
on_failure: always

env:
global:
- NOT_CRAN: true
- R_CHECK_ARGS="--as-cran --timings"
- R_CHECK_TIME="TRUE"
- R_CHECK_TESTS="TRUE"
- _R_CHECK_TIMINGS_="0"


before_script:
- sudo apt install seq-gen

0 comments on commit 32954c2

Please sign in to comment.