forked from ateucher/rmapshaper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (31 loc) · 873 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
34
35
36
37
38
language: c
sudo: required
before_install:
- curl -OL https://raw.githubusercontent.com/metacran/r-builder/master/pkg-build.sh
- chmod 755 pkg-build.sh
- ./pkg-build.sh bootstrap
- sudo apt-get install libv8-dev
- sudo apt-get install aptitude -y
- sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
- sudo apt-get update -qq
- sudo aptitude install -y gdal-bin
- sudo aptitude install -y libgdal1-dev
- sudo aptitude install -y libproj-dev
install:
- ./pkg-build.sh install_deps
- ./pkg-build.sh install_github jimhester/covr
script:
- ./pkg-build.sh run_tests
after_success:
- ./pkg-build.sh run_script -e 'library(covr);codecov()'
after_failure:
- ./pkg-build.sh dump_logs
notifications:
email:
on_success: change
on_failure: change
env:
matrix:
- RVERSION=oldrel
- RVERSION=release
- RVERSION=devel