File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,16 @@ dist: trusty
77sudo : required
88services : docker
99
10+ jobs :
11+ include :
12+ - name : release
13+ env : DOCKER_CNTR="rcpp/ci" R="R" COVR="yes"
14+ - name : dev
15+ env : DOCKER_CNTR="rcc/ci-dev" R="RD"
16+
1017env :
1118 global :
1219 - DOCKER_OPTS="--rm -ti -v $(pwd):/mnt -w /mnt"
13- DOCKER_CNTR="rcpp/ci"
1420 R_BLD_OPTS="--no-build-vignettes --no-manual"
1521 R_CHK_OPTS="--no-vignettes --no-manual"
1622
@@ -19,13 +25,13 @@ before_install:
1925 - docker run ${DOCKER_OPTS} ${DOCKER_CNTR} r -p -e 'sessionInfo()'
2026
2127install :
22- - docker run ${DOCKER_OPTS} ${DOCKER_CNTR} R CMD build ${R_BLD_OPTS} .
28+ - docker run ${DOCKER_OPTS} ${DOCKER_CNTR} ${R} CMD build ${R_BLD_OPTS} .
2329
2430script :
25- - docker run ${DOCKER_OPTS} ${DOCKER_CNTR} R CMD check ${R_CHK_OPTS} Rcpp_*.tar.gz
31+ - docker run ${DOCKER_OPTS} ${DOCKER_CNTR} ${R} CMD check ${R_CHK_OPTS} Rcpp_*.tar.gz
2632
2733after_success :
28- - docker run ${DOCKER_OPTS} -e CODECOV_TOKEN ${DOCKER_CNTR} r -l covr -e 'codecov()'
34+ - if [[ "$COVR" == "yes" ]]; then docker run ${DOCKER_OPTS} -e CODECOV_TOKEN ${DOCKER_CNTR} r -l covr -e 'codecov()'; fi
2935
3036notifications :
3137 email :
You can’t perform that action at this time.
0 commit comments