File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 8
8
packages :
9
9
- r-base-dev
10
10
- r-recommended
11
- - qpdf
12
11
13
12
env :
14
13
global :
@@ -34,13 +33,12 @@ before_script:
34
33
- Rscript -e 'devtools::install_deps(repos = "http://cran.rstudio.com", dependencies = TRUE)'
35
34
- cd ..; rm -f *.tar.gz; R CMD build $R_PKG
36
35
- R CMD INSTALL ${R_PKG}_*.tar.gz
37
- - cd plotly
38
36
39
37
script :
40
38
# run R CMD check on the non-pull request build
41
- - sh -c "if [ '$TRAVIS_PULL_REQUEST' = 'false' ]; then Rscript -e 'devtools:: check()' ; fi"
39
+ - sh -c "if [ '$TRAVIS_PULL_REQUEST' = 'false' ]; then R CMD check ${R_PKG}_*.tar.gz --no-manual ; fi"
42
40
# we do some fancy stuff on the pull request build that confuses R CMD check
43
- - sh -c "if [ '$TRAVIS_PULL_REQUEST' != 'false' ]; then Rscript -e 'source (\"tests/testthat.R\", chdir = T )'; fi"
41
+ - sh -c "if [ '$TRAVIS_PULL_REQUEST' != 'false' ]; then Rscript -e 'testthat::test_check (\"plotly\" )'; fi"
44
42
45
43
after_success :
46
44
- cd ../plotly-test-table
You can’t perform that action at this time.
0 commit comments