Browse Source

travis / appveyor / code-coverage

pull/4/head
boB Rudis 6 years ago
parent
commit
ded4b1d893
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
  1. 2
      .Rbuildignore
  2. 17
      .travis.yml
  3. 7
      DESCRIPTION
  4. 4
      README.Rmd
  5. 8
      README.md
  6. 45
      appveyor.yml
  7. 1
      codecov.yml

2
.Rbuildignore

@ -5,3 +5,5 @@
^\.travis\.yml$
^CONDUCT\.md$
^README\.md$
^codecov\.yml$
^appveyor\.yml$

17
.travis.yml

@ -1,14 +1,5 @@
# Sample .travis.yml for R projects
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: r
warnings_are_errors: true
sudo: required
env:
global:
- CRAN: http://cran.rstudio.com
notifications:
email:
on_success: change
on_failure: change
language: R
sudo: false
cache: packages

7
DESCRIPTION

@ -12,14 +12,15 @@ Description: Counts blank lines, comment lines, and physical lines of source cod
<https://github.com/AlDanial/cloc>.
SystemRequirements: perl
Copyright: file inst/COPYRIGHTS
Imports:
Imports:
R.utils,
utils,
dplyr
Encoding: UTF-8
Depends:
Depends:
R (>= 3.2.0)
License: MIT + file LICENSE
LazyData: true
Suggests: testthat
Suggests: testthat,
covr
RoxygenNote: 6.0.1.9000

4
README.Rmd

@ -12,7 +12,9 @@ knitr::opts_chunk$set(
)
```
![Project Status: Concept - Minimal or no implementation has been done yet.](http://www.repostatus.org/badges/0.1.0/concept.svg)
[![Travis-CI Build Status](https://travis-ci.org/hrbrmstr/cloc.svg?branch=master)](https://travis-ci.org/hrbrmstr/cloc)
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/hrbrmstr/cloc?branch=master&svg=true)](https://ci.appveyor.com/project/hrbrmstr/cloc)
[![Coverage Status](https://img.shields.io/codecov/c/github/hrbrmstr/cloc/master.svg)](https://codecov.io/github/hrbrmstr/cloc?branch=master)
# cloc

8
README.md

@ -1,8 +1,12 @@
<!-- README.md is generated from README.Rmd. Please edit that file -->
![Project Status: Concept - Minimal or no implementation has been done
yet.](http://www.repostatus.org/badges/0.1.0/concept.svg)
[![Travis-CI Build
Status](https://travis-ci.org/hrbrmstr/cloc.svg?branch=master)](https://travis-ci.org/hrbrmstr/cloc)
[![AppVeyor Build
Status](https://ci.appveyor.com/api/projects/status/github/hrbrmstr/cloc?branch=master&svg=true)](https://ci.appveyor.com/project/hrbrmstr/cloc)
[![Coverage
Status](https://img.shields.io/codecov/c/github/hrbrmstr/cloc/master.svg)](https://codecov.io/github/hrbrmstr/cloc?branch=master)
# cloc

45
appveyor.yml

@ -0,0 +1,45 @@
# 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
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

1
codecov.yml

@ -0,0 +1 @@
comment: false
Loading…
Cancel
Save