Skip to content

Commit e77baab

Browse files
committed
add: travis-ci and codecov
1 parent 4edc8ca commit e77baab

File tree

5 files changed

+42
-0
lines changed

5 files changed

+42
-0
lines changed

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@
55
^_pkgdown\.yml$
66
^docs$
77
^pkgdown$
8+
^\.travis\.yml$
9+
^codecov\.yml$

.travis.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
2+
3+
language: R
4+
sudo: true
5+
cache: packages
6+
latex: false
7+
fortran: false
8+
9+
jobs:
10+
include:
11+
- r: release
12+
- r: devel
13+
- os: osx
14+
r: release
15+
r_binary_packages:
16+
- covr
17+
warnings_are_errors: false
18+
after_success:
19+
- Rscript -e 'covr::codecov()'

README.Rmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ output: github_document
77
# cssgrid
88

99
<!-- badges: start -->
10+
[![Travis build status](https://travis-ci.org/atusy/cssgrid.svg?branch=master)](https://travis-ci.org/atusy/cssgrid)
11+
[![Codecov test coverage](https://codecov.io/gh/atusy/cssgrid/branch/master/graph/badge.svg)](https://codecov.io/gh/atusy/cssgrid?branch=master)
1012
<!-- badges: end -->
1113

1214
CSS Grid Layout for R Markdown and Shiny

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55

66
<!-- badges: start -->
77

8+
[![Travis build
9+
status](https://travis-ci.org/atusy/cssgrid.svg?branch=master)](https://travis-ci.org/atusy/cssgrid)
10+
[![Codecov test
11+
coverage](https://codecov.io/gh/atusy/cssgrid/branch/master/graph/badge.svg)](https://codecov.io/gh/atusy/cssgrid?branch=master)
812
<!-- badges: end -->
913

1014
CSS Grid Layout for R Markdown and Shiny

codecov.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
codecov:
2+
token: 061f50e5-99ee-4bbc-8d73-acf453cc2d92
3+
4+
comment: false
5+
6+
coverage:
7+
status:
8+
project:
9+
default:
10+
target: auto
11+
threshold: 1%
12+
patch:
13+
default:
14+
target: auto
15+
threshold: 1%

0 commit comments

Comments
 (0)