-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
112 lines (101 loc) · 2.72 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: R
dist: trusty
sudo: required
cache: packages
bioc_required: true
bioc_use_devel: true
os:
- linux
r:
- bioc-devel
- bioc-release
r_packages:
- covr
- devtools
- antaresProcessing
r_binary_packages:
- curl
- openssl
- jsonlite
- git2r
- httpuv
- xts
- later
- stringi
- Rcpp
- maps
- dplyr
- bindrcpp
- processx
- raster
- markdown
- V8
- units
- rgeos
- readr
- utf8
- fansi
- maptools
- sp
- protolite
- yaml
- covr
- lubridate
- htmltools
- digest
- lazyeval
- sourcetools
- glue
- rgdal
- data.table
- base64enc
- reshape2
- colorspace
- scales
- png
- hexbin
- tidyr
- backports
- pryr
bioc_packages:
- rhdf5
- zlibbioc
r_github_packages:
- rte-antares-rpackage/antaresRead@next_release
- rte-antares-rpackage/antaresProcessing@next_release
#- rte-antares-rpackage/leaflet.minicharts
# - rte-antares-rpackage/manipulateWidget@master
#- rte-antares-rpackage/antaresMaps@develop
addons:
apt:
sources:
- sourceline: 'ppa:opencpu/jq'
packages:
- libjq-dev
- valgrind
- libv8-3.14-dev
- libudunits2-dev
- libprotobuf-dev
- protobuf-compiler
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CURWD=`pwd`; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libproj-dev libgeos++-dev; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget http://download.osgeo.org/gdal/2.1.0/gdal-2.1.0.tar.gz; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tar zxf gdal-2.1.0.tar.gz; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd gdal-2.1.0; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./configure; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo make install; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget http://download.osgeo.org/proj/proj-4.9.3.tar.gz; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tar zxvf proj-4.9.3.tar.gz; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd proj-4.9.3; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./configure; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo make install; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo ldconfig; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd $CURWD; fi
after_success:
- Rscript -e 'library(covr); codecov()'