forked from byzheng/missionplanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (39 loc) · 1.58 KB
/
.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
language: r
sudo: required
dist: trusty
notifications:
email:
recipients:
on_success: always
on_failure: always
addons:
apt:
sources:
- r-packages-precise
packages:
- r-base-dev
- r-recommended
install:
- sudo apt-get install -y libgdal1-dev
- sudo apt-get install -y libproj-dev
- Rscript -e "if (!require('devtools')) install.packages('devtools')"
- Rscript -e "if (!require('geosphere')) install.packages('geosphere')"
- Rscript -e "if (!require('rsconnect')) install.packages('rsconnect')"
- Rscript -e "if (!require('sp')) install.packages('sp')"
- Rscript -e "if (!require('shiny')) install.packages('shiny')"
- Rscript -e "if (!require('shinydashboard')) install.packages('shinydashboard')"
- Rscript -e "if (!require('leaflet')) devtools::install_github('byzheng/leaflet')"
- Rscript -e "if (!require('leafletplugins')) devtools::install_github('byzheng/leafletplugins')"
- Rscript -e "if (!require('dplyr')) install.packages('dplyr')"
- Rscript -e "if (!require('tidyr')) install.packages('tidyr')"
- Rscript -e "if (!require('readr')) install.packages('readr')"
- Rscript -e "if (!require('knitr')) install.packages('knitr')"
- Rscript -e "if (!require('caTools')) install.packages('caTools')"
- Rscript -e "if (!require('rgeos')) install.packages('rgeos')"
- Rscript -e "if (!require('rgdal')) install.packages('rgdal')"
- Rscript -e "if (!require('rmarkdown')) install.packages('rmarkdown')"
script:
- Rscript _build.R ${SHINY_TOKEN} ${SHINY_SECRET}
cache:
packages: yes