From 962da14f6251524442b8f581c48974dc5a354b7e Mon Sep 17 00:00:00 2001 From: "Thomas J. Leeper" Date: Thu, 8 Mar 2018 11:06:30 +0000 Subject: [PATCH] add .github files --- CONTRIBUTING.md => .github/CONTRIBUTING.md | 0 .github/ISSUE_TEMPLATE.md | 25 +++++++++++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 9 +++++++ .travis.yml | 28 +++++++++++++++++++++- 4 files changed, 61 insertions(+), 1 deletion(-) rename CONTRIBUTING.md => .github/CONTRIBUTING.md (100%) create mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/CONTRIBUTING.md b/.github/CONTRIBUTING.md similarity index 100% rename from CONTRIBUTING.md rename to .github/CONTRIBUTING.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..5d753a8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,25 @@ +Please specify whether your issue is about: + + - [ ] a possible bug + - [ ] a question about package functionality + - [ ] a suggested code or documentation change, improvement to the code, or feature request + +If you are reporting (1) a bug or (2) a question about code, please supply: + + - [a fully reproducible example](http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) using a publicly available dataset (or provide your data) + - if an error is occurring, include the output of `traceback()` run immediately after the error occurs + - the output of `sessionInfo()` + +Put your code here: + +```R +## load package +library("aws.ses") + +## code goes here + + +## session info for your system +sessionInfo() +``` + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..a9cd165 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,9 @@ +Please ensure the following before submitting a PR: + + - [ ] if suggesting code changes or improvements, [open an issue](https://github.com/cloudyr/aws.ses/issues/new) first + - [ ] for all but trivial changes (e.g., typo fixes), add your name to [DESCRIPTION](https://github.com/cloudyr/aws.ses/blob/master/DESCRIPTION) + - [ ] for all but trivial changes (e.g., typo fixes), documentation your change in [NEWS.md](https://github.com/cloudyr/aws.ses/blob/master/NEWS.md) with a parenthetical reference to the issue number being addressed + - [ ] if changing documentation, edit files in `/R` not `/man` and run `devtools::document()` to update documentation + - [ ] add code or new test files to [`/tests`](https://github.com/cloudyr/aws.ses/tree/master/tests/testthat) for any new functionality or bug fix + - [ ] make sure `R CMD check` runs without error before submitting the PR + diff --git a/.travis.yml b/.travis.yml index 91ed836..9d552bb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,40 @@ language: r sudo: false cache: packages +matrix: + include: + - os: linux + dist: precise + sudo: false + r_build_args: '--no-build-vignettes' + r_check_args: '--ignore-vignettes --no-examples' + - os: linux + dist: trusty + sudo: required + env: R_CODECOV=true + - os: osx + osx_image: xcode8.2 + before_install: + - brew install curl + - brew link --force curl + latex: false + r_build_args: '--no-build-vignettes' + r_check_args: '--ignore-vignettes --no-examples' + - os: osx + osx_image: xcode7.3 + latex: false + r_build_args: '--no-build-vignettes' + r_check_args: '--ignore-vignettes --no-examples' r_packages: -- knitr - covr - drat +r_github_packages: +- cloudyr/travisci after_success: - Rscript -e 'library("covr");codecov()' - test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && bash drat.sh +- Rscript -e "travisci::restart_last_build('cloudyr/awspack')" env: global: secure: WMYHZ8ntlvEYoKyLMhnYlFLXFPIqMEf9eR/m1M9wA5X0ixKTF+KvlBp1w4rCdAPjn7/eH+MLVgSguFA9Fpo8Y7FnY0Towx5q3tW//2p6JabVlxJi4IQMNKo05Aeq6zUZo2L0H7nEVKezc1PxqcAWRnA3p++oKw/GrVc7SoLbejg=