-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (42 loc) · 906 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: r
sudo: false
cache: packages
r:
- devel
os:
- linux
# - osx
before_install:
- echo "TRAVIS_OS_NAME = $TRAVIS_OS_NAME"
- export RGL_USE_NULL=TRUE
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libgit2; fi;
r_packages:
- colorRamps
- dplyr
- DT
- glue
- graphics
- magrittr
- plotly
- purrr
- shiny
- stats
- tidyr
- utils
- knitr
- rmarkdown
- testthat
r_github_packages:
- marionlouveaux/cellviz3d # pre-install to avoid vignette package errors
after_success:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then Rscript -e 'pkgdown::build_site()'; fi;
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_PAT
keep-history: true
local-dir: docs
on:
branch: master
condition: $TRAVIS_OS_NAME = linux