-
Notifications
You must be signed in to change notification settings - Fork 7
/
.gitlab-ci.yml
executable file
·35 lines (30 loc) · 1.08 KB
/
.gitlab-ci.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
image: openjdk:8u292-jre-buster
before_script:
- java -version
- apt-get update && apt-get --assume-yes install wget make procps software-properties-common
#- apt-get --assume-yes install python3 python3-pip
#- pip3 install biopython==1.76
- wget -qO- https://get.nextflow.io | bash && cp nextflow /usr/local/bin/nextflow
- nextflow help
- wget -q https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh
- mkdir /root/.conda
- bash Mambaforge-Linux-x86_64.sh -b -p /usr/local/bin/conda
- rm -f Mambaforge-Linux-x86_64.sh
- source /usr/local/bin/conda/etc/profile.d/conda.sh
- source /usr/local/bin/conda/etc/profile.d/mamba.sh
- which mamba
- mamba --version
# this is a workaround for https://github.com/mamba-org/mamba/issues/1993
- echo "use_lockfiles:" >> ~/.mambarc
- echo " - false" >> ~/.mambarc
- echo "channels:" >> ~/.mambarc
- echo " - defaults" >> ~/.mambarc
- echo " - conda-forge" >> ~/.mambarc
- echo " - bioconda" >> ~/.mambarc
- cat ~/.mambarc
stages:
- test
test:
stage: test
script:
- make