-
Notifications
You must be signed in to change notification settings - Fork 5
/
.gitlab-ci.yml
56 lines (51 loc) · 1.48 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
stages:
- test
- build
# test:
# image: condaforge/linux-anvil
# stage: test
# script:
# - conda config --add channels bioconda
# - conda env create -p env/ -f environment.yml
# - source activate env/
# - conda install pytest-cov
# - python3 setup.py develop
# - pytest --verbose --cov fastclone/ --pyargs fastclone
# coverage: '/TOTAL.*\s+(\d+%)$/'
test_build_conda_python35:
image: condaforge/linux-anvil
stage: test
script:
- conda config --add channels bioconda
- conda config --add channels guanlab
- conda install -y conda-verify
- conda build --python=3.5 recipe/meta.yaml
test_build_conda_python36:
image: condaforge/linux-anvil
stage: test
script:
- conda config --add channels bioconda
- conda config --add channels guanlab
- conda install -y conda-verify
- conda build --python=3.6 recipe/meta.yaml
test_build_conda_python37:
image: condaforge/linux-anvil
stage: test
script:
- conda config --add channels bioconda
- conda config --add channels guanlab
- conda install -y conda-verify
- conda build --python=3.7 recipe/meta.yaml
build_conda_python:
image: condaforge/linux-anvil
stage: build
script:
- conda config --add channels bioconda
- conda config --add channels guanlab
- conda install -y conda-verify
- conda config --set anaconda_upload yes
- >
conda build --user guanlab --token $ANACONDA_TOKEN
--python=3.5 recipe/meta.yaml
only:
- master