-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.gitlab-ci.yml
46 lines (43 loc) · 933 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
41
42
43
44
45
46
stages:
- quality
- test
# - deploy
quality:
stage: quality
image: python:3.6-slim-buster
before_script:
- apt-get update
- apt-get -qq -y install curl gcc g++
- pip install tox
- pip install .
script:
- tox -e check
tags:
- cindor-public
test:
stage: test
image:
name: python:3.6-slim-buster
entrypoint: ["/bin/bash"]
before_script:
- apt-get update
- apt-get install ffmpeg libsm6 libxext6 gcc g++ -y
- pip install tox
- pip install .
script:
- tox -r -e py36
tags:
- cindor-public
# pypi release:
# stage: deploy
# image: python:3.7-buster
# before_script:
# - pip install twine pep517
# script:
# - python3 -m pep517.build .
# - twine upload dist/* --user $PYPI_USER --password $PYPI_PWD --repository-url http://pypi.satellogic.team
# only:
# - tags
# - /^v[0-9]+\.[0-9]+\.[0-9]+$/
# tags:
# - docker-amd64-v2