-
Notifications
You must be signed in to change notification settings - Fork 62
/
.travis.yml
77 lines (64 loc) · 1.13 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
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: r
matrix:
include:
- os: linux
dist: trusty
r: release
before_install: |1
mkdir ~/.R
cat <<EOF > ~/.R/Makevars
CC=gcc-6
CXX=g++-6
CXX1X=g++-6
CXX11=g++-6
- os: osx
r: release
- os: linux
dist: trusty
r: devel
before_install: |1
mkdir ~/.R
cat <<EOF > ~/.R/Makevars
CC=gcc-6
CXX=g++-6
CXX1X=g++-6
CXX11=g++-6
- os: osx
r: devel
env: _R_CHECK_FORCE_SUGGESTS_=FALSE
allow_failure:
r: devel
r_check_args: --use-valgrind
cache: packages
env:
global:
- OS=$(uname -s)
cran: http://cran.rstudio.com
r_packages:
- covr
- BH
- ggplot2
r_binary_packages:
- testthat
- png
- Rcpp
- RcppArmadillo
- RcppProgress
- dbscan
- knitr
- rmarkdown
sudo: required
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- g++-6
- gfortran-6
- libudunits2-dev
brew_packages:
- udunits
after_success:
- Rscript -e 'covr::codecov(branch = Sys.getenv("TRAVIS_BRANCH"))'