forked from jackwasey/icd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
36 lines (36 loc) · 1.27 KB
/
wercker.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
box: rocker/hadleyverse
#box: jackwasey/r-devel-ubsan-gcc
command-timeout: 60
no-response-timeout: 60
build:
steps:
- install-packages:
packages: r-cran-codetools
- script:
name: icd test environment
code: |
export ICD_SLOW_TESTS=true
rm .Rinstignore # install everything for testing
sed -i '/[Dd]ata/d' .Rbuildignore # do include data for testing
- jimhester/r-dependencies:
github_packages: jimhester/covr
- jimhester/r-lint
- jimhester/r-check:
warnings_are_errors: FALSE
# I think making warnings into errors gives false positives for latex warnings, even if R CMD check is okay
- script:
name: debug information before codecov with covr
code: |
ls -R
echo $ICD_SLOW_TESTS
cat ./icd.Rcheck/tests/test-*.Rout*
- script:
name: run covr for codecov.io
code: |
Rscript -e "library(covr); codecov(quiet = FALSE, line_exclusions = list('inst/include/icd_RcppExports.h', 'R/RcppExports.R', 'src/RcppExports.cpp', 'R/benchmark.R'))"
- script:
name: debug information after codecov with covr
code: |
ls -R
echo $ICD_SLOW_TESTS
cat ./icd.Rcheck/tests/test-*.Rout*