forked from r-dbi/RSQLite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (26 loc) · 815 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Sample .travis.yml for R projects from https://github.com/craigcitro/r-travis
language: c
env:
- global:
- WARNINGS_ARE_ERRORS=1
- R_CHECK_ARGS=--no-manual --as-cran
- R_BUILD_ARGS=--no-manual
before_install:
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
- chmod 755 ./travis-tool.sh
- ./travis-tool.sh bootstrap
install:
- ./travis-tool.sh install_github RcppCore/Rcpp
- ./travis-tool.sh install_github rstats-db/DBI
- ./travis-tool.sh install_github jimhester/covr
- ./travis-tool.sh install_deps
- R CMD INSTALL .
script: ./travis-tool.sh run_tests
on_failure:
- ./travis-tool.sh dump_logs
after_success:
- Rscript -e "covr::codecov(exclusions='src/sqlite3.c')"
notifications:
email:
on_success: change
on_failure: change