-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
50 lines (41 loc) · 878 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
40
41
42
43
44
45
46
47
48
49
50
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: R
sudo: required
cache: packages
r:
- release
matrix:
include:
# works on Precise and Trusty
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
os:
- linux
r_packages:
- covr
- devtools
- knitr
- roxygen2
- rmarkdown
- testthat
- glue
- jsonlite
- ini
- yaml
- RcppTOML
- prettydoc
before_install:
- eval "${MATRIX_EVAL}"
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 --slave /usr/bin/g++ g++ /usr/bin/g++-7
after_failure:
- ./travis-tool.sh dump_logs
after_success:
- bash <(curl -s https://codecov.io/bash)
- Rscript -e 'library("covr"); covr::codecov()'