From 0018ca689d324c000984c01f4f046cddad385a02 Mon Sep 17 00:00:00 2001 From: Haziq Jamil Date: Mon, 1 Apr 2024 21:55:35 +0800 Subject: [PATCH] Add codecov badge and remove old CI yml --- .travis.yml | 62 -------------------------------------- README.md | 2 +- appveyor.yml | 84 ---------------------------------------------------- 3 files changed, 1 insertion(+), 147 deletions(-) delete mode 100644 .travis.yml delete mode 100644 appveyor.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 38aa71d..0000000 --- a/.travis.yml +++ /dev/null @@ -1,62 +0,0 @@ -# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r - -language: r - -cache: packages - -sudo: false - -warnings_are_errors: true - -matrix: - include: - - os: linux - r: release - addons: - apt: - packages: - - valgrind - env: - - VALGRIND_OPTS='--leak-check=full --track-origins=yes' - script: - - | - R CMD build . - travis_wait 60 R CMD check --no-codoc --no-build-vignettes --no-manual --use-valgrind iprior*tar.gz - after_failure: - - find *Rcheck -name '*.fail' -print -exec cat '{}' \; - - - os: linux - r: oldrel - r_check_args: --as-cran - - - os: linux - r: release - r_github_packages: - - hadley/testthat - - jimhester/covr - r_check_args: --as-cran - after_success: - - Rscript -e 'covr::codecov(quiet = FALSE)' - - - os: linux - r: devel - r_check_args: --as-cran - - - os: osx - r: oldrel - r_check_args: --as-cran - - # - os: osx - # r: devel - # r_check_args: --as-cran - # https://github.com/travis-ci/travis-ci/issues/6629 - -notifications: - on_success: change - on_failure: change - email: false - pushover: - api_key: - secure: t21xJNty7AbsOXOn+FdMv9tMQ+1Wgp8cF8hMzMHtPzkmhlvdFkS8cGmHXNrVqHIKjTonii61J1rZv5Ku2o3voxKjlHXHQXQcUGuGeI9l8ujcx4LHbI0dxYx5W1F8iUkZip+meSgT+ClYp5r9URBTqBIixUZNzCsfBKNg8QEmPSomzT0af86AER1Q26e0dX8Zriayq/l/oQQRi3Bhd43hpZfxjSgr8/5p0M+Dnfm45iLxOwUmTSCiaWP4e6wJcLxzijL2D95P60xsA7I86I8I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TSS14FzxqexZruT3idGp0U= diff --git a/README.md b/README.md index 4ec73ea..fa72760 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![R-CMD-check](https://github.com/haziqj/iprior/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/haziqj/iprior/actions/workflows/R-CMD-check.yaml) -[![test-coverage](https://github.com/haziqj/iprior/actions/workflows/test-coverage.yaml/badge.svg)](https://github.com/haziqj/iprior/actions/workflows/test-coverage.yaml) +[![codecov](https://codecov.io/gh/haziqj/iprior/graph/badge.svg?token=W4xTtuyt6r)](https://codecov.io/gh/haziqj/iprior) [![CRAN_Status_Badge_version_ago](http://www.r-pkg.org/badges/version-ago/iprior)](https://cran.r-project.org/package=iprior) [![CRAN downloads](http://cranlogs.r-pkg.org/badges/grand-total/iprior)](https://cran.r-project.org/package=iprior) diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 1dcc0c7..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,84 +0,0 @@ -# DO NOT CHANGE the "init" and "install" sections below - -# Download script file from GitHub -init: - ps: | - $ErrorActionPreference = "Stop" - Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1" - Import-Module '..\appveyor-tool.ps1' - -install: - ps: Bootstrap - -cache: - - C:\RLibrary - -# Adapt as necessary starting from here - -branches: - only: - - master - -environment: - global: - WARNINGS_ARE_ERRORS: 1 - USE_RTOOLS: true - - matrix: - - R_VERSION: devel - GCC_PATH: mingw_32 - PKGTYPE: source - - - R_VERSION: devel - R_ARCH: x64 - GCC_PATH: mingw_64 - PKGTYPE: source - - - R_VERSION: release - GCC_PATH: mingw_32 - - - R_VERSION: release - R_ARCH: x64 - - - R_VERSION: patched - - - R_VERSION: oldrel - - # - R_VERSION: 3.2.5 - # RTOOLS_VERSION: 32 - # CRAN: http://cran.rstudio.com - # PKGTYPE: source - -max_jobs: 2 - -matrix: - fast_finish: false - -build_script: - - travis-tool.sh install_deps - -test_script: - - travis-tool.sh run_tests - -on_failure: - - 7z a failure.zip *.Rcheck\* - - appveyor PushArtifact failure.zip - -artifacts: - - path: '*.Rcheck\**\*.log' - name: Logs - - - path: '*.Rcheck\**\*.out' - name: Logs - - - path: '*.Rcheck\**\*.fail' - name: Logs - - - path: '*.Rcheck\**\*.Rout' - name: Logs - - - path: '\*_*.tar.gz' - name: Bits - - - path: '\*_*.zip' - name: Bits