forked from RGLab/flowWorkspace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (43 loc) · 1.58 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
# Sample .travis.yml for R projects
language: r
r: devel
dist: xenial
cache: packages
warnings_are_errors: false
sudo: required
bioc_required: true
before_install:
- echo -e "machine github.com\n login $CI_USER_TOKEN" > ~/.netrc
- R -e 'install.packages("devtools")'
- R -e 'install.packages("BiocManager")'
- R -e 'devtools::install_github("Bioconductor/BiocGenerics", ref = "master")'
install:
- R -e 'BiocManager::install("Rhdf5lib")'
- R -e 'install.packages("testthat")'
- R -e 'install.packages("knitr")'
- R -e 'install.packages("parallel")'
- R -e 'devtools::install_github("RcppCore/RcppParallel", ref="master")'
- R -e 'devtools::install_github("RGLab/RProtoBufLib")'
- R -e 'devtools::install_github("RGLab/cytolib")'
- R -e 'devtools::install_github("RGLab/flowCore")'
- R -e 'devtools::install_github("RGLab/ncdfFlow")'
- R -e 'devtools::install_github("RGLab/flowWorkspaceData")'
- R -e 'devtools::install_deps(upgrade = "always")'
script:
- R CMD build . --no-build-vignettes
- R -e 'install.packages(list.files(pattern="*tar.gz"), repos=NULL, type="source")'
- R -e 'devtools::install_github("RGLab/CytoML")'
- R -e 'devtools::install_github("RGLab/ggcyto")'
- R CMD build .
- R CMD check *tar.gz
env:
global:
- CRAN: http://cran.rstudio.com
- secure: HFnxefnfMuyddSduRz0p8duWMxZM+8xSKhGwW08IyVfBvRRkqAaI6pT4OUl1xkXViS2N0Grjcvhglor5s3H5wux5HGl3W2pWm7PAVHNkDwA1NjwCQs7bZPQUCZdrLXY8IqYbd7hEH3dQcRix5lYt2WcmuRj4b8N3MWW/GVamu70=
-apt_packages:
- - libhdf5-7
- - libhdf5-dev
notifications:
email:
on_success: change
on_failure: change