Skip to content

Commit 37da1b9

Browse files
committed
travis matrix include must not support before_script
1 parent 6b8f4ed commit 37da1b9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,10 @@ cache: packages
33
sudo: true
44
dist: trusty
55
warnings_are_errors: false
6-
7-
86
r:
97
- devel
108
- oldrel
119
- release
12-
13-
1410

1511
env:
1612
global:
@@ -30,5 +26,8 @@ before_install:
3026
# make sure R pkgs are upt-to-date
3127
- Rscript -e 'update.packages(ask = FALSE)'
3228

29+
before_script:
30+
- if [[ "$TRAVIS_R_VERSION_STRING" == "release" ]]; then 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)"; fi
31+
3332
# work around temporary travis + R 3.5 bug
3433
r_packages: devtools

0 commit comments

Comments
 (0)