forked from lijingya/ELMER
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
111 lines (96 loc) · 2.02 KB
/
.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: r
r:
- bioc-release
sudo: true
cache: packages
bioc_required: true
bioc_use_devel: true
warnings_are_errors: false
r_check_args: '--ignore-vignettes --no-examples'
os:
- linux
- osx
osx_image: xcode9
addons:
apt:
packages:
- libgdal-dev
- libgdal1-dev
- libproj-dev
- libudunits2-dev
brew_packages:
- udunits
before_install:
- if [ ${TRAVIS_OS_NAME} == linux ]; then sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable --yes; fi
- if [ ${TRAVIS_OS_NAME} == linux ]; then sudo apt-get --yes --force-yes update -qq; fi
- if [ ${TRAVIS_OS_NAME} == linux ]; then sudo apt-get install --yes libudunits2-dev libproj-dev libgeos-dev libgdal-dev; fi
r_binary_packages:
- withr
- knitr
- crayon
- roxygen2
- testthat
- rex
- R6
- whisker
- jsonlite
- httr
- RCurl
- bitops
- DBI
- getopt
- rjson
- snow
- RSQLite
- base64enc
- fastmatch
- XML
- igraph
bioc_packages:
- BiocStyle
- GenomicRanges
- Biobase
- affy
- EDASeq
- edgeR
- biomaRt
- IRanges
- supraHex
- S4Vectors
- ComplexHeatmap
- SummarizedExperiment
- BiocGenerics
- GenomicFeatures
- TxDb.Hsapiens.UCSC.hg19.knownGene
- limma
- genefilter
- ConsensusClusterPlus
- pathview
- clusterProfiler
- BiocCheck
- fgsea
- GenomicInteractions
- GO.db
- DO.db
- org.Hs.eg.db
r_github_packages:
- tiagochst/ELMER.data
- hfang-bristol/dnet
- BioinformaticsFMRP/TCGAbiolinks
install:
- echo 'GITHUB_PAT=15f150aedeaf7dea7ba59ffacb54243b66c10618' > .Renviron
script:
- |
travis_wait R CMD build .
travis_wait 60 R CMD check ELMER*tar.gz
after_script:
- ls -lah
- FILE=$(ls -1t *.tar.gz | head -n 1)
- Rscript -e "library(BiocCheck); BiocCheck(\"${FILE}\")
r_build_args: --no-resave-data
notifications:
slack: junkdnalab:KV8Dr7etoqqDQPsORdaZLOz2
email: false
on_success: never # default: change
on_failure: always # default: always