forked from arorar/covmat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (26 loc) · 919 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
## Travis configuration file for covmat
language: R
sudo: required
warnings_are_errors: false
env:
global:
- NOT_CRAN=true
before_install: echo "options(repos = c(CRAN='http://cran.rstudio.com'))" > ~/.Rprofile
env:
global:
- CRAN: http://cran.rstudio.com
before_install:
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
- chmod 755 ./travis-tool.sh
- ./travis-tool.sh bootstrap
r_build_args: "--no-build-vignettes --no-manual"
r_check_args: "--no-build-vignettes --no-manual --as-cran"
install:
- ./travis-tool.sh install_deps
- ./travis-tool.sh install_github hadley/devtools
- ./travis-tool.sh install_github hadley/testthat
- ./travis-tool.sh install_github jimhester/covr
- ./travis-tool.sh install_github yihui/knitr
- ./travis-tool.sh install_github arorar/FactorAnalytics
after_success:
- Rscript -e 'library(covr);coveralls()'