-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
39 lines (31 loc) · 875 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
39
# Travis configuration guide for R language:
# https://docs.travis-ci.com/user/languages/r/
# https://github.com/craigcitro/r-travis/wiki/Porting-to-native-R-support-in-Travis
language: r
sudo: required
cache: packages
warnings_are_errors: true
os:
- linux
# - osx
jobs:
include:
- r: devel
- r: release
- r: 3.5
- r: 3.4
- r: 3.3
addons:
apt:
packages:
- libudunits2-dev
- libgdal-dev
before_install:
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install llvm &&
# export PATH="/usr/local/opt/llvm/bin:$PATH" &&
# export LDFLAGS="-L/usr/local/opt/llvm/lib" &&
# export CFLAGS="-I/usr/local/opt/llvm/include"; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo ldconfig; fi
- R -e 'install.packages("rgdal", repos="http://R-Forge.R-project.org")'
after_success:
- Rscript -e 'covr::codecov()'