-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
42 lines (35 loc) · 955 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
34
35
36
37
38
39
40
41
42
language: R
cache: packages
# valgrind (disabled; takes too long, and errors don't affect the build)
#
# r_check_args: '--use-valgrind'
#
# addons:
# apt:
# packages:
# - valgrind
r_github_packages:
- jimhester/covr
before_install:
- make NEWS
- make README
# for devel version of 'utf8', put the following in `before_install`:
# - pushd $(mktemp -d)
# - git clone --recursive https://github.com/patperry/r-utf8.git
# - Rscript -e 'devtools::install("r-utf8")'
# - popd
matrix:
include:
- os: linux
r: oldrel
- os: linux
dist: trusty
r: release
env: R_CODECOV=true
- os: linux
r: devel
warnings_are_errors: true
after_success:
- export LC_ALL="C"
- export TEST_WEB_RESOURCES="true"
- if [[ "${R_CODECOV}" ]]; then Rscript -e 'covr::codecov(line_exclusions = c("R/deprecated.R", "R/wordlist.R", "src/wordlist.c", list.files("src/corpus", recursive = TRUE, full.names = TRUE)))'; fi