File tree 4 files changed +73
-12
lines changed
4 files changed +73
-12
lines changed Original file line number Diff line number Diff line change 1
- # Sample .travis.yml for R projects
2
-
3
1
language : r
2
+ os : linux
3
+ cache : packages
4
+ warnings_are_errors : true
5
+ r_check_args : " --no-manual --timings"
4
6
5
7
bioc_packages :
6
8
- BiocStyle
7
9
- SingleCellExperiment
8
10
9
- matrix :
11
+ jobs :
10
12
include :
11
13
- r : release
12
14
os : osx
13
15
- r : release
14
16
os : linux
15
- # - r: devel
16
- # os: linux
17
-
18
- sudo : false
19
- cache : packages
20
- warnings_are_errors : true
21
- r_check_args : " --no-manual --timings"
22
17
23
18
env :
24
19
global :
Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ Imports:
28
28
Matrix,
29
29
methods,
30
30
tibble,
31
- rlang
31
+ rlang,
32
+ SingleCellExperiment
32
33
Suggests:
33
34
Seurat,
34
- SingleCellExperiment,
35
35
testthat,
36
36
knitr,
37
37
rmarkdown,
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
+ # This is a good reference:
14
+ # https://github.com/Bioconductor/BiocManager/blob/master/appveyor.yml
15
+
16
+ cache :
17
+ - C:\RLibrary
18
+
19
+ environment :
20
+ global :
21
+ _R_CHECK_FORCE_SUGGESTS_ : false
22
+ R_ARCH : x64
23
+ USE_RTOOLS : true
24
+ R_CHECK_ARGS : " --no-manual --timings"
25
+
26
+ matrix :
27
+ - R_VERSION : release
28
+ BIOC_USE_DEVEL : FALSE
29
+
30
+ build_script :
31
+ - echo Current directory=%CD%
32
+ - travis-tool.sh install_deps
33
+ - travis-tool.sh install_bioc_deps
34
+ - travis-tool.sh install_r Seurat
35
+
36
+ test_script :
37
+ - travis-tool.sh run_tests
38
+
39
+ on_failure :
40
+ - 7z a failure.zip *.Rcheck\*
41
+ - appveyor PushArtifact failure.zip
42
+
43
+ artifacts :
44
+ - path : ' *.Rcheck\**\*.log'
45
+ name : Logs
46
+
47
+ - path : ' *.Rcheck\**\*.out'
48
+ name : Logs
49
+
50
+ - path : ' *.Rcheck\**\*.fail'
51
+ name : Logs
52
+
53
+ - path : ' *.Rcheck\**\*.Rout'
54
+ name : Logs
55
+
56
+ - path : ' \*_*.tar.gz'
57
+ name : Bits
58
+
59
+ - path : ' \*_*.zip'
60
+ name : Bits
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ if [ $( uname) == " Linux" ]
3
+ then
4
+ echo ' CXX_STD = CXX11' > ./src/Makevars
5
+ echo ' PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)' >> ./src/Makevars
6
+ fi
You can’t perform that action at this time.
0 commit comments