Skip to content

Commit 0b3182a

Browse files
committed
R command must come from docker run command
1 parent 454edd2 commit 0b3182a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ matrix:
1212
- release
1313
# run visual tests
1414
# TODO: push the svg files somewhere on after_failure?
15-
before_script: docker run -e VMODE="ci" -v $(pwd):/home/plotly --privileged cpsievert/plotly-orca
15+
before_script: docker run -e MAPBOX_TOKEN=$MAPBOX_TOKEN -v $(pwd):/home/plotly --privileged cpsievert/plotly-orca R -e "devtools::install_deps('/home/plotly', dep = T); res <- devtools::test('/home/plotly', reporter='summary'); df <- as.data.frame(res); if (sum(df\$failed) > 0 || any(df\$error)) q(status=1)"
1616

1717

1818
env:

0 commit comments

Comments
 (0)