-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
45 lines (35 loc) · 758 Bytes
/
.travis.yml
File metadata and controls
45 lines (35 loc) · 758 Bytes
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
os: linux
dist: xenial
language: r
r_packages: devtools
services: docker
env:
global:
- REPO=kguidonimartins/vbpflow-app
warnings_are_errors: false
before_install: |
sudo apt-get -y install \
build-essential \
libcurl4-gnutls-dev \
libxml2-dev \
libssl-dev \
libgdal-dev \
bwidget \
libgdal1-dev \
libgeos-dev \
libgeos++-dev \
libgsl0-dev \
libproj-dev \
libspatialite-dev \
netcdf-bin \
libudunits2-dev
cache: packages
script: make all
jobs:
include:
- r: release
after_success:
- Rscript -e 'devtools::install()'
- docker login -u kguidonimartins -p "$DOCKER_PASSWORD"
- export REPO=kguidonimartins/vbpflow-app
- if [ $TRAVIS_BRANCH == "trunk" ]; then docker build -t $REPO .; docker push $REPO; fi