Skip to content

Commit 23f4262

Browse files
committed
more travis tweaks
1 parent 9bb3f77 commit 23f4262

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ addons:
88
packages:
99
- r-base-dev
1010
- r-recommended
11-
- qpdf
1211

1312
env:
1413
global:
@@ -34,13 +33,12 @@ before_script:
3433
- Rscript -e 'devtools::install_deps(repos = "http://cran.rstudio.com", dependencies = TRUE)'
3534
- cd ..; rm -f *.tar.gz; R CMD build $R_PKG
3635
- R CMD INSTALL ${R_PKG}_*.tar.gz
37-
- cd plotly
3836

3937
script:
4038
# 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"
4240
# 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"
4442

4543
after_success:
4644
- cd ../plotly-test-table

0 commit comments

Comments
 (0)