forked from geocompx/geocompr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (28 loc) · 982 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
language: r
cache: packages
latex: false
dist: trusty
sudo: required
before_install:
- sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable --yes
- sudo add-apt-repository ppa:opencpu/jq --yes
- sudo apt-get --yes --force-yes update -qq
- sudo apt-get install --yes libudunits2-dev libproj-dev libgeos-dev libgdal-dev libv8-dev
- sudo apt-get install --yes libjq-dev libprotobuf-dev libprotoc-dev protobuf-compiler libnetcdf-dev r-cran-ncdf4
install:
- R -e "install.packages('remotes')"
- R -e "install.packages('tinytex')"
- R -e "tinytex::install_tinytex()"
- R -e "install.packages('spDataLarge', repos = 'https://nowosad.github.io/drat/', type = 'source')"
- R -e "remotes::install_github('geocompr/geocompkg')"
script:
- make html
after_success:
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && bash deploy.sh
notifications:
email:
on_success: change
on_failure: change
env:
global:
- MAKEFLAGS="-j 2"