File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 33# Made by Dirk Eddelbuettel in August 2018 and released under GPL (>=2)
44
55os : linux
6- dist : trusty
6+ dist : bionic
77sudo : required
88services : docker
99
2525 - DOCKER_OPTS="--rm -ti -v $(pwd):/mnt -w /mnt"
2626 R_BLD_OPTS="--no-build-vignettes --no-manual"
2727 R_CHK_OPTS="--no-vignettes --no-manual"
28+ PKG_NAME=$(awk '/Package:/ {print $2}' DESCRIPTION)
29+ PKG_VER=$(awk '/Version:/ {print $2}' DESCRIPTION)
30+ PKG_TGZ="${PKG_NAME}_${PKG_VER}.tar.gz"
2831
2932before_install :
3033 - docker pull ${DOCKER_CNTR}
@@ -35,7 +38,7 @@ install:
3538 - docker run ${DOCKER_OPTS} ${DOCKER_CNTR} ${R} CMD build ${R_BLD_OPTS} .
3639
3740script :
38- - if [[ "${COVR}" == "no" ]]; then docker run ${DOCKER_OPTS} ${DOCKER_CNTR} ${R} CMD check ${R_CHK_OPTS} Rcpp_*.tar.gz ; fi
41+ - if [[ "${COVR}" == "no" ]]; then docker run ${DOCKER_OPTS} ${DOCKER_CNTR} ${R} CMD check ${R_CHK_OPTS} ${PKG_TGZ} ; fi
3942 - if [[ "${COVR}" == "yes" ]]; then docker run ${DOCKER_OPTS} -e CODECOV_TOKEN ${DOCKER_CNTR} r -l covr -e 'codecov()'; fi
4043
4144notifications :
Original file line number Diff line number Diff line change 1+ 2020-06-19 Dirk Eddelbuettel <edd@debian.org>
2+
3+ * .travis.yml: Determine package name and version from DESCRIPTION,
4+ switch to bionic
5+
162020-06-14 Dirk Eddelbuettel <edd@debian.org>
27
38 * inst/bib/Rcpp.bib: Add John's new 'S, R, and Data Science' article
You can’t perform that action at this time.
0 commit comments