Skip to content

Commit

Permalink
try to set travis-ci matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Sep 30, 2019
1 parent 4ef2149 commit af611f5
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,10 @@ language: R
sudo: required
cache: packages

os:
- linux

apt_packages:
- libxml2-dev

services:
- docker

before_install:
# mainly for installing sf (which requires units/rgeos/rgdal)
- sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable --yes
- sudo apt-get --yes --force-yes update -qq
- sudo apt-get install --yes libudunits2-dev libproj-dev libgeos-dev libgdal-dev
- Rscript -e 'update.packages(ask = FALSE)'
- docker run --name geonetwork -d -p 8080:8080 pobsteta/docker-geonetwork:3.0.5

r:
#- release
- devel
#- oldrel
- release
#- devel

r_github_packages:
- eblondel/geometa
Expand All @@ -39,6 +23,20 @@ r_packages:

r_check_args: --as-cran

matrix:
include:
- name: "GeoNetwork 3.0.5"
os: linux
services: docker
apt_packages: libxml2-dev
before_install:
# mainly for installing sf (which requires units/rgeos/rgdal)
- sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable --yes
- sudo apt-get --yes --force-yes update -qq
- sudo apt-get install --yes libudunits2-dev libproj-dev libgeos-dev libgdal-dev
- Rscript -e 'update.packages(ask = FALSE)'
- docker run --name geonetwork -d -p 8080:8080 pobsteta/docker-geonetwork:3.0.5

after_script:
- ./travis-tool.sh dump_logs

Expand Down

0 comments on commit af611f5

Please sign in to comment.