File tree Expand file tree Collapse file tree 2 files changed +78
-0
lines changed Expand file tree Collapse file tree 2 files changed +78
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Sample .travis.yml for R projects.
2
+ #
3
+ # See the r-travis repo and its wiki
4
+ # https://github.com/craigcitro/r-travis/wiki
5
+ # https://github.com/eddelbuettel/r-travis/
6
+
7
+ language : c
8
+
9
+ env :
10
+ global :
11
+ - PKG_CFLAGS="-I../inst/include -DLOGGER_LEVEL=LL_WARN"
12
+ - R_BUILD_ARGS="--no-build-vignettes --no-manual"
13
+ - R_CHECK_ARGS="--no-vignettes --no-manual"
14
+ matrix :
15
+ - _R_CHECK_CRAN_INCOMING_=FALSE
16
+ - R_BUILD_ARGS=" " R_CHECK_ARGS="--as-cran" BOOTSTRAP_LATEX="1" _R_CHECK_CRAN_INCOMING_=TRUE BOOTSTRAP_PANDOC="1"
17
+
18
+
19
+ before_install :
20
+ - echo "options(repos = c(CRAN='http://cran.r-project.org'))" >> ~/.Rprofile
21
+ - curl -OL http://raw.github.com/qinwf/r-travis/master/scripts/travis-tool.sh
22
+ - chmod 755 ./travis-tool.sh
23
+ - ./travis-tool.sh bootstrap
24
+
25
+ install :
26
+ - ./travis-tool.sh install_deps
27
+
28
+ script :
29
+ - ./travis-tool.sh run_tests
30
+
31
+ after_failure :
32
+ - ./travis-tool.sh dump_logs
33
+
34
+ notifications :
35
+ email :
36
+ on_success : change
37
+ on_failure : change
Original file line number Diff line number Diff line change
1
+ # DO NOT CHANGE the "init" and "install" sections below
2
+
3
+ # Download script file from GitHub
4
+ init :
5
+ ps : |
6
+ $ErrorActionPreference = "Stop"
7
+ Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
8
+ Import-Module '..\appveyor-tool.ps1'
9
+
10
+ install :
11
+ ps : Bootstrap
12
+
13
+ # Adapt as necessary starting from here
14
+
15
+ build_script :
16
+ - travis-tool.sh install_deps
17
+
18
+ test_script :
19
+ - travis-tool.sh run_tests
20
+
21
+ on_failure :
22
+ - travis-tool.sh dump_logs
23
+
24
+ artifacts :
25
+ - path : ' *.Rcheck\**\*.log'
26
+ name : Logs
27
+
28
+ - path : ' *.Rcheck\**\*.out'
29
+ name : Logs
30
+
31
+ - path : ' *.Rcheck\**\*.fail'
32
+ name : Logs
33
+
34
+ - path : ' *.Rcheck\**\*.Rout'
35
+ name : Logs
36
+
37
+ - path : ' \*_*.tar.gz'
38
+ name : Bits
39
+
40
+ - path : ' \*_*.zip'
41
+ name : Bits
You can’t perform that action at this time.
0 commit comments