influx_stats/.drone.yml

40 lines
1018 B
YAML
Raw Permalink Normal View History

2022-11-03 04:14:55 +00:00
kind: pipeline
type: docker
name: build
steps:
- name: build
image: python:3-buster
commands:
- export PYTHONPATH=.
- export FLASK_APP=period
- apt-get update -qy
- apt-get install -y python3-dev python3-pip
- pip3 install --upgrade pip
- pip3 install --upgrade setuptools
- pip3 install Flask gunicorn pytest pytest-cov
- pip3 install pendulum
2023-12-05 00:23:35 +00:00
trigger:
branch:
- master
- influx2
event:
- push
2022-11-03 04:19:01 +00:00
# ---
# kind: pipeline
# type: docker
# name: test
# steps:
# - name: test
# image: python:3-buster
# commands:
# - export PYTHONPATH=.
# - export FLASK_APP=period
# - apt-get update -qy
# - apt-get install -y python3-dev python3-pip
# - pip3 install --upgrade pip
# - pip3 install --upgrade setuptools
# - pip3 install Flask gunicorn pytest pytest-cov
# - pip3 install pendulum
# - pytest tests --cov --cov-report term --cov-report html --junitxml=report.xml