forked from UrbanAnalyst/dodgr
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
53 lines (47 loc) · 1.48 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
48
49
50
51
52
53
language: R
cache: packages
sudo: required
addons:
apt:
packages:
- libudunits2-dev
- libproj-dev
- libgeos-dev
- libgdal-dev
#- valgrind
matrix:
include:
- r: release
after_success:
Rscript -e "covr::codecov(line_exclusions = list('src/heaps/bheap.cpp',"\
"'src/heaps/bheap.h','src/heaps/fheap.h', 'src/heaps/fheap.cpp',"\
"'src/heaps/heap23.h', 'src/heaps/heap23.cpp', 'src/heaps/heap23_2.h',"\
"'src/heaps/heap.h', 'src/heaps/heap_lib.h', 'src/heaps/radixheap.h',"\
"'src/heaps/radixheap.cpp', 'src/heaps/triheap.h', 'src/heaps/triheap.cpp',"\
"'src/heaps/triheap_ext.h', 'src/heaps/triheap_ext.cpp', 'src/dgraph.cpp'))"
before_deploy: Rscript -e 'remotes::install_cran("pkgdown")'
deploy:
provider: script
script: Rscript -e 'pkgdown::deploy_site_github(verbose = TRUE)'
skip_cleanup: true
- r: devel
- r: oldrel
- os: osx
r: release
- os: osx
r: devel
allow_failures:
- os: osx
r: release
- os: osx
r: devel
before_install:
- sudo -i env PATH="$PATH" tlmgr update -all
#- sudo env PATH="$PATH" tlmgr install dvisvgm
- sudo env PATH="$PATH" tlmgr path add
notifications:
email:
on_success: change
on_failure: change
r_packages:
- covr