Skip to content

Commit 09c4574

Browse files
committed
run visual tests earlier
1 parent c5d0267 commit 09c4574

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,15 @@ env:
2121
- secure: "QPBEqtLRdwb4ablJORzD0JdCT9ESe3nNdIehM1oxfcNKfpSdf2OFxH3TkeYY1nMpv0mLxiMNTy6xcj9Yk5MaaBCIA0P7q6OdZv9ruzQD1j3g84gP45KwBilbPGjb+/EvOS0fM25vR/pAmA8IyoUfPC2J8HwiNnW8DYdt/hJOJ9A="
2222

2323
before_install:
24+
# run visual tests on r-release
25+
- if [[ "$TRAVIS_R_VERSION_STRING" == "release" ]]; then docker run -e VMODE="ci" -v $(pwd):/home/plotly cpsievert/plotly-orca; fi
2426
- echo "Sys.setenv('plotly_username' = 'cpsievert')" > ~/.Rprofile
2527
# sf system dependencies
2628
- sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable --yes
2729
- sudo apt-get --yes --force-yes update -qq
2830
- sudo apt-get install --yes libudunits2-dev libproj-dev libgeos-dev libgdal-dev
2931
# make sure R pkgs are upt-to-date
3032
- Rscript -e 'update.packages(ask = FALSE)'
31-
32-
script:
33-
- if [[ "$TRAVIS_R_VERSION_STRING" == "release" ]]; then docker run -e VMODE="ci" -v $(pwd):/home/plotly cpsievert/plotly-orca; fi
3433

3534
# work around temporary travis + R 3.5 bug
3635
r_packages: devtools

0 commit comments

Comments
 (0)