diff --git a/.Rbuildignore b/.Rbuildignore index 6cc7095..b3a2a95 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -1,3 +1,4 @@ +^codecov\.yml$ ^LICENSE\.md$ ^.*\.Rproj$ ^\.Rproj\.user$ diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..a0159d4 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +language: r + +warnings_are_errors: true + +cache: packages + +sudo: required + +jdk: + - oraclejdk8 + +addons: + apt: + packages: + - oracle-java8-set-default + +after_success: + - Rscript -e 'covr::codecov()' + +r: + - oldrel + - release diff --git a/README.Rmd b/README.Rmd index 346819a..62de8cd 100644 --- a/README.Rmd +++ b/README.Rmd @@ -3,6 +3,20 @@ output: rmarkdown::github_document editor_options: chunk_output_type: console --- +```{r include=FALSE} +knitr::opts_chunk$set( + echo = TRUE, + message = FALSE, + warning = FALSE, + fig.retina = 2 +) + +Sys.setenv( + AWS_S3_STAGING_DIR = "s3://aws-athena-query-results-569593279821-us-east-1" +) + +options(width=120) +``` # metis.jars @@ -47,13 +61,9 @@ devtools::install_gitlab("hrbrmstr/metis-jars") devtools::install_github("hrbrmstr/metis-jars") ``` -```{r message=FALSE, warning=FALSE, include=FALSE} -options(width=120) -``` - ## Usage -```{r message=FALSE, warning=FALSE} +```{r} library(metis.jars) # current verison diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..959972a --- /dev/null +++ b/codecov.yml @@ -0,0 +1 @@ +comment: false \ No newline at end of file