forked from andrewzm/sparseinv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (29 loc) · 907 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
# Sample .travis.yml for R projects
language: r
group: deprecated-2017Q1
warnings_are_errors: false
sudo: required
cache: packages
env:
global:
- CRAN: http://cran.rstudio.com
#env:
# global:
# - NOT_CRAN=true
#before_install: echo "options(repos = c(CRAN='http://cran.rstudio.com'))" > ~/.Rprofile
notifications:
email:
on_success: change
on_failure: change
install:
- Rscript -e 'install.packages("devtools", repos = "http://cran.rstudio.com")'
- Rscript -e 'install.packages("Matrix", repos = "http://cran.rstudio.com")'
- Rscript -e 'install.packages("spam", repos = "http://cran.rstudio.com")'
- Rscript -e 'install.packages("testthat", repos = "http://cran.rstudio.com")'
- Rscript -e 'devtools::install_github("jimhester/covr")'
- Rscript -e 'devtools::install_github("jimhester/lintr")'
r_binary_packages:
- XML
- knitr
after_success:
- Rscript -e 'covr::codecov()'