-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (26 loc) · 701 Bytes
/
.travis.yml
File metadata and controls
34 lines (26 loc) · 701 Bytes
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
34
# https://docs.travis-ci.com/user/languages/r/
language: r
cache: packages
# dist: trusty
r:
- release
- 3.3
- oldrel
- devel
r_packages:
- covr
- lintr
# This option forces all WARNINGS from R CMD check to become build failures (default true).
# This is especially helpful when preparing your package for submission to CRAN.
warnings_are_errors: true
# whitelist of branches that shall be built
branches:
only:
- master
# Taken from: https://github.com/lockedata/HIBPwned/blob/master/.travis.yml
after_script:
- R CMD INSTALL $PKG_TARBALL
- Rscript -e 'lintr::lint_package()'
# https://github.com/codecov/example-r
after_success:
- Rscript -e 'library(covr); codecov()'