Browse Source

pre-travis check

boB Rudis 1 year ago
parent
commit
302b592909
No known key found for this signature in database
4 changed files with 39 additions and 5 deletions
  1. 1
    0
      .Rbuildignore
  2. 22
    0
      .travis.yml
  3. 15
    5
      README.Rmd
  4. 1
    0
      codecov.yml

+ 1
- 0
.Rbuildignore View File

@@ -1,3 +1,4 @@
1
+^codecov\.yml$
1 2
 ^LICENSE\.md$
2 3
 ^.*\.Rproj$
3 4
 ^\.Rproj\.user$

+ 22
- 0
.travis.yml View File

@@ -0,0 +1,22 @@
1
+language: r
2
+
3
+warnings_are_errors: true
4
+
5
+cache: packages
6
+
7
+sudo: required
8
+
9
+jdk:
10
+  - oraclejdk8
11
+
12
+addons:
13
+  apt:
14
+    packages:
15
+      - oracle-java8-set-default
16
+
17
+after_success:
18
+  - Rscript -e 'covr::codecov()'
19
+
20
+r:
21
+ - oldrel
22
+ - release

+ 15
- 5
README.Rmd View File

@@ -3,6 +3,20 @@ output: rmarkdown::github_document
3 3
 editor_options: 
4 4
   chunk_output_type: console
5 5
 ---
6
+```{r include=FALSE}
7
+knitr::opts_chunk$set(
8
+  echo = TRUE,
9
+  message = FALSE,
10
+  warning = FALSE,
11
+  fig.retina = 2
12
+)
13
+
14
+Sys.setenv(
15
+  AWS_S3_STAGING_DIR = "s3://aws-athena-query-results-569593279821-us-east-1"
16
+)
17
+
18
+options(width=120)
19
+```
6 20
 
7 21
 # metis.jars
8 22
 
@@ -47,13 +61,9 @@ devtools::install_gitlab("hrbrmstr/metis-jars")
47 61
 devtools::install_github("hrbrmstr/metis-jars")
48 62
 ```
49 63
 
50
-```{r message=FALSE, warning=FALSE, include=FALSE}
51
-options(width=120)
52
-```
53
-
54 64
 ## Usage
55 65
 
56
-```{r message=FALSE, warning=FALSE}
66
+```{r}
57 67
 library(metis.jars)
58 68
 
59 69
 # current verison

+ 1
- 0
codecov.yml View File

@@ -0,0 +1 @@
1
+comment: false

Loading…
Cancel
Save