forked from tango-controls/pytango-conda-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
40 lines (35 loc) · 878 Bytes
/
.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
image: registry.gitlab.com/tiagocoutinho/pytango-conda-recipes:build
before_script:
- source /opt/conda/bin/activate
build27:
stage: build
script:
- cd pytango
- conda build --no-anaconda-upload --prefix-length=60 --output-folder=../dist/ --python=2.7 .
artifacts:
paths:
- dist/
build36:
stage: build
script:
- cd pytango
- conda build --no-anaconda-upload --prefix-length=60 --output-folder=../dist/ --python=3.6 .
artifacts:
paths:
- dist/
build37:
stage: build
script:
- cd pytango
- conda build --no-anaconda-upload --prefix-length=60 --output-folder=../dist/ --python=3.7 .
artifacts:
paths:
- dist/
deploy:
stage: deploy
script:
- echo "Deploy to anaconda cloud"
- anaconda -t "$ANACONDA_TOKEN" upload -u tango-controls dist/linux-64/*.tar.bz2
only:
- master
when: manual