Browse Source

Experimental: use_tidy_ci()

master
Lukas Burk 1 year ago
parent
commit
8f9b2c926a
Signed by: lukas GPG Key ID: 044E8B20BB186F81
8 changed files with 33 additions and 60 deletions
  1. +1
    -0
      .Rbuildignore
  2. +2
    -0
      .covrignore
  3. +17
    -52
      .travis.yml
  4. +1
    -1
      DESCRIPTION
  5. +2
    -0
      README.Rmd
  6. +4
    -0
      README.md
  7. +1
    -4
      codecov.yml
  8. +5
    -3
      cran-comments.md

+ 1
- 0
.Rbuildignore View File

@ -26,3 +26,4 @@ vignettes/\.httr-oauth$
^\.lintr$
^\.pre-commit-config\.yaml$
^README_cache$
^\.covrignore$

+ 2
- 0
.covrignore View File

@ -0,0 +1,2 @@
R/deprec-*.R
R/compat-*.R

+ 17
- 52
.travis.yml View File

@ -1,59 +1,24 @@
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: r
os: linux
language: R
cache: packages
dist: bionic
r:
# - oldrel
- release
- devel
addons:
apt:
packages:
- libgit2-dev
- r-base-dev
r_binary_packages:
- assertthat
- commonmark
- curl
- dplyr
- fs
- ggplot2
- git2r
- glue
- highlight
- httr
- jsonlite
# - knitr
- lubridate
- openssl
- processx
- ps
- purrr
- rlang
# - rmarkdown
- roxygen2
- stringi
- stringr
- testthat
- tidyr
- xml2
after_success:
- test $TRAVIS_R_VERSION_STRING = "release" && Rscript -e 'covr::codecov()'
# before_deploy: Rscript -e 'remotes::install_github("r-lib/pkgdown")'
before_deploy:
- Rscript -e 'install.packages("pkgdown")'
deploy:
provider: script
script: Rscript -e 'pkgdown::deploy_site_github(run_dont_run = TRUE)'
skip_cleanup: true
on:
branch: master
condition: "$TRAVIS_R_VERSION_STRING = release"
matrix:
include:
- r: devel
- r: release
after_success:
- Rscript -e 'covr::codecov()'
before_deploy:
- Rscript -e 'install.packages("pkgdown")'
deploy:
provider: script
script: Rscript -e 'pkgdown::deploy_site_github(run_dont_run = TRUE)'
skip_cleanup: true
- r: oldrel
- r: 3.4
- r: 3.3
- r: 3.2
# notifications only when things change
notifications:


+ 1
- 1
DESCRIPTION View File

@ -18,7 +18,7 @@ URL: https://jemus42.github.io/tRakt,
http://github.com/jemus42/tRakt
BugReports: http://github.com/jemus42/tRakt/issues
Depends:
R (>= 2.10)
R (>= 3.2)
Imports:
dplyr (>= 0.7.0),
httr,


+ 2
- 0
README.Rmd View File

@ -24,6 +24,8 @@ knitr::opts_chunk$set(
<!-- [![CRAN status](https://www.r-pkg.org/badges/version/tRakt)](https://cran.r-project.org/package=tRakt) -->
[![GitHub release](https://img.shields.io/github/release/jemus42/tRakt.svg?logo=GitHub)](https://github.com/jemus42/tRakt/releases)
[![GitHub last commit (master)](https://img.shields.io/github/last-commit/jemus42/tRakt/master.svg?logo=GithUb)](https://github.com/jemus42/tRakt/commits/master)
[![Travis build status](https://travis-ci.org/jemus42/tRakt.svg?branch=master)](https://travis-ci.org/jemus42/tRakt)
[![Codecov test coverage](https://codecov.io/gh/jemus42/tRakt/branch/master/graph/badge.svg)](https://codecov.io/gh/jemus42/tRakt?branch=master)
<!-- badges: end -->
`tRakt` helps you to retrieve data from [trakt.tv](https://trakt.tv/), a site similiar to [IMDb](https://imdb.com) with a wider focus, yet smaller user base. The site also enables media-center integration, so you can automatically sync your collection and watch progress, as well as scrobble playback and ratings via [Plex](https://www.plex.tv/), [Kodi](https://kodi.tv/) and the likes.


+ 4
- 0
README.md View File

@ -16,6 +16,10 @@ status](https://codecov.io/gh/jemus42/tRakt/branch/master/graph/badge.svg)](http
release](https://img.shields.io/github/release/jemus42/tRakt.svg?logo=GitHub)](https://github.com/jemus42/tRakt/releases)
[![GitHub last commit
(master)](https://img.shields.io/github/last-commit/jemus42/tRakt/master.svg?logo=GithUb)](https://github.com/jemus42/tRakt/commits/master)
[![Travis build
status](https://travis-ci.org/jemus42/tRakt.svg?branch=master)](https://travis-ci.org/jemus42/tRakt)
[![Codecov test
coverage](https://codecov.io/gh/jemus42/tRakt/branch/master/graph/badge.svg)](https://codecov.io/gh/jemus42/tRakt?branch=master)
<!-- badges: end -->
`tRakt` helps you to retrieve data from [trakt.tv](https://trakt.tv/), a


+ 1
- 4
codecov.yml View File

@ -1,9 +1,6 @@
comment: false
coverage:
range: 60..95
round: down
precision: 2
status:
project:
default:
@ -12,4 +9,4 @@ coverage:
patch:
default:
target: auto
threshold: 1%
threshold: 1%

+ 5
- 3
cran-comments.md View File

@ -1,7 +1,9 @@
## Test environments
* local OS X install, R 3.5.2
* ubuntu 16.04 (on travis-ci), oldred, release, devel
* r-hub (rhub::check_for_cran)
* local: darwin15.6.0-3.6.2
* travis: 3.1, 3.2, 3.3, oldrel, release, devel
* r-hub: windows-x86_64-devel, ubuntu-gcc-release, fedora-clang-devel
* win-builder: windows-x86_64-devel
## R CMD check results


Loading…
Cancel
Save