Skip to content

Commit b5a7c9d

Browse files
authored
Update deployment configurations (#16)
* Improve the travis build setup * Modify thresholding for code coverage rejections * Refresh README with new badging tags. * Bump package version
1 parent 63c856f commit b5a7c9d

File tree

6 files changed

+49
-6
lines changed

6 files changed

+49
-6
lines changed

.travis.yml

+23-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,28 @@
11
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
22

33
language: R
4-
sudo: false
54
cache: packages
5+
6+
###### Custom Options
7+
8+
# Containers have 2 CPUs by default. Speed up the build by using both.
9+
# c.f. https://docs.travis-ci.com/user/reference/overview/#virtualisation-environment-vs-operating-system
10+
env:
11+
global:
12+
- MAKEFLAGS="-j 2"
13+
- _R_CHECK_FORCE_SUGGESTS_=false
14+
15+
# Run R package on both release and developer versions
16+
jobs:
17+
include:
18+
- r: release
19+
- r: devel
20+
- r: oldrel
21+
22+
# If one fails, avoid running the other.
23+
matrix:
24+
fast_finish: true
25+
26+
# Enable coverage check on unit tests
627
after_success:
7-
- Rscript -e 'covr::codecov()'
28+
- Rscript -e 'covr::codecov()'

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: searcher
22
Title: Query Search Interfaces
3-
Version: 0.0.3.9000
3+
Version: 0.0.3.9100
44
Authors@R: c(person("James", "Balamuta",
55
email = "[email protected]", role = c("aut", "cre"),
66
comment = c(ORCID = "0000-0003-2826-8458")))

NEWS.md

+6
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@
44

55
- Renamed search portal `search_ixquick()` to `search_startpage()` due to the
66
merging of ixquick into startpage. (#15)
7+
- Update the README overview for the project. (#16)
78

9+
## Deployment
10+
11+
- Improve Travis CI testing deployments by testing across an array and using
12+
all CPUs allotted to build the container. (#16)
13+
- Modify thresholding for code coverage rejections. (#16)
814

915
# searcher 0.0.3
1016

README.Rmd

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ knitr::opts_chunk$set(
1212
)
1313
```
1414

15+
<!-- badges: start -->
1516
[![Travis-CI Build Status](https://travis-ci.org/r-assist/searcher.svg?branch=master)](https://travis-ci.org/r-assist/searcher)
1617
[![CRAN RStudio mirror downloads](http://cranlogs.r-pkg.org/badges/searcher)](http://www.r-pkg.org/pkg/searcher)
1718
[![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/searcher)](https://cran.r-project.org/package=searcher)
18-
[![Coverage Status](https://img.shields.io/codecov/c/github/r-assist/searcher/master.svg)](https://codecov.io/github/r-assist/searcher?branch=master)
19+
[![Codecov test coverage](https://codecov.io/gh/r-assist/searcher/branch/master/graph/badge.svg)](https://codecov.io/gh/r-assist/searcher?branch=master)
20+
<!-- badges: end -->
1921

2022
# searcher
2123

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11

22
<!-- README.md is generated from README.Rmd. Please edit that file -->
33

4+
<!-- badges: start -->
5+
46
[![Travis-CI Build
57
Status](https://travis-ci.org/r-assist/searcher.svg?branch=master)](https://travis-ci.org/r-assist/searcher)
68
[![CRAN RStudio mirror
79
downloads](http://cranlogs.r-pkg.org/badges/searcher)](http://www.r-pkg.org/pkg/searcher)
810
[![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/searcher)](https://cran.r-project.org/package=searcher)
9-
[![Coverage
10-
Status](https://img.shields.io/codecov/c/github/r-assist/searcher/master.svg)](https://codecov.io/github/r-assist/searcher?branch=master)
11+
[![Codecov test
12+
coverage](https://codecov.io/gh/r-assist/searcher/branch/master/graph/badge.svg)](https://codecov.io/gh/r-assist/searcher?branch=master)
13+
<!-- badges: end -->
1114

1215
# searcher
1316

codecov.yml

+11
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
11
comment: false
2+
3+
coverage:
4+
status:
5+
project:
6+
default:
7+
target: auto
8+
threshold: 1%
9+
patch:
10+
default:
11+
target: auto
12+
threshold: 1%

0 commit comments

Comments
 (0)