Skip to content
Snippets Groups Projects
Commit dd259e09 authored by jens.preussner's avatar jens.preussner :ghost:
Browse files

Added CI for i2dash

parent be16a274
No related branches found
No related tags found
No related merge requests found
Pipeline #95990 failed
r-assertive.sets
r-base
r-flexdashboard
r-knitr
r-yaml
zip
\ No newline at end of file
#!/bin/bash
set -eo pipefail
#
# Set up correct channel order
#
conda config --system --add channels defaults
conda config --system --add channels bioconda
conda config --system --add channels conda-forge
#
# Install packages from requirements
#
conda install -q -y --file .ci/requirements.txt
conda clean -q -y --all
image: continuumio/miniconda3:4.5.13
stages:
- build
- check
before_script:
- .ci/setup.sh
build:
stage: build
tags:
- docker
script:
- R CMD build .
artifacts:
paths:
- i2dash_*.tar.gz
name: "$CI_COMMIT_REF_NAME-builds"
check:
stage: check
tags:
- docker
variables:
http_proxy: http://www-proxy.t-online.de:80
R_ZIPCMD: /opt/conda/bin/zip
script:
- R CMD check *tar.gz --as-cran --no-manual
artifacts:
expire_in: 1 week
paths:
- i2dash.Rcheck/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment