Skip to content

Commit c4bacdc

Browse files
committed
apparently R needs to be run interactively(╯°□°)╯ ┻━┻
1 parent 9f69495 commit c4bacdc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ before_install:
2828

2929
# run visual tests on r-release
3030
before_script:
31-
- if [[ "$TRAVIS_R_VERSION_STRING" == "release" ]]; then docker run -e VMODE="ci" -v $(pwd):/home/plotly --privileged cpsievert/plotly-orca; fi
32-
31+
- if [[ "$TRAVIS_R_VERSION_STRING" == "release" ]]; then docker run -v $(pwd):/home/plotly -it --privileged cpsievert/plotly-orca bash; fi
32+
- if [[ "$TRAVIS_R_VERSION_STRING" == "release" ]]; then R -e "res <- devtools::test('/home/plotly', reporter='summary'); df <- as.data.frame(res); if (sum(df$failed) > 0 || any(df$error)) q(status=1)"; fi
33+
- if [[ "$TRAVIS_R_VERSION_STRING" == "release" ]]; then exit; fi
3334
# work around temporary travis + R 3.5 bug
3435
r_packages: devtools

0 commit comments

Comments
 (0)