Skip to content

Commit 7baf7c9

Browse files
committed
fix env var location
1 parent cac79ba commit 7baf7c9

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.travis.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ addons:
1111
- qpdf
1212

1313
env:
14-
- R_LIBS_USER=~/R/library NOT_CRAN=true
15-
16-
cache:
17-
directories:
18-
$R_LIBS_USER
1914
global:
15+
- R_LIBS_USER=~/R/library NOT_CRAN=true
2016
# plotly_api_key (for posting to plot.ly)
2117
- secure: "UAETDsmeXkXm9eUpZa3JTm8/cv+jyLmArXE0TQD0yQNICFNPkGeNergoQmkesRqG+ifLu6V1lPXu1XlqQPdXY60clUHThDN+AjsBmcv9F170k6RtBSV8pIKL9fsW8t0v/maEet86qOSf3cNa5+gK8GjBH1pmLrN2rF9r7RhwUdg="
2218
# GITHUB_PAT (for pushing to plotly-test-table)
2319
- secure: "LHJONgWOo+98vNeFLI7LSJU3RtbMVszlI79GB8CcXmc2mlgM/UtZ5b6RnkNlhmg3Gj1/uObfm/rIybVTwuS1yNpeKv73+gsZOYhobVXiUGVxdRFG/mg5mbqwyWkkuofjPGFlMZCEMgHim37eZzgjSibwVH1LClRDsCoFMCgvgV0="
2420

21+
cache:
22+
directories:
23+
$R_LIBS_USER
24+
2525
before_script:
2626
- mkdir -p "$R_LIBS_USER"
2727
- echo "Sys.setenv('plotly_username' = 'RTestBot3000')" > ~/.Rprofile
@@ -30,10 +30,6 @@ before_script:
3030
- Rscript -e 'if (length(find.package("devtools", quiet = TRUE)) == 0L) { install.packages("devtools", repos = "http://cran.rstudio.com") }'
3131
- Rscript -e 'library(devtools);update_packages("devtools", repos = "http://cran.rstudio.com")'
3232
- Rscript -e 'library(devtools);install_deps(repos = "http://cran.rstudio.com", dependencies = TRUE)'
33-
# for debugging
34-
- Rscript -e 'devtools::install()'
35-
- Rscript -e 'plotly:::verify("username")'
36-
- Rscript -e 'plotly:::verify("api_key")'
3733

3834
script:
3935
- Rscript -e 'devtools::check()'

0 commit comments

Comments
 (0)