This commit is contained in:
Sumner Evans
2020-09-19 00:36:35 -06:00
parent 6265281955
commit 37d693d553
5 changed files with 14 additions and 10 deletions

View File

@@ -2,8 +2,9 @@ image: archlinux
packages:
- flatpak
- flatpak-builder
- python-pip
sources:
- https://git.sr.ht/~sumner/offlinemsmtp
- https://git.sr.ht/~sumner/sublime-music
environment:
REPO_NAME: sublime-music
# triggers:

View File

@@ -5,7 +5,7 @@ packages:
- openssh
- py3-docutils
sources:
- https://git.sr.ht/~sumner/offlinemsmtp
- https://git.sr.ht/~sumner/sublime-music
secrets:
# README Personal Access Token
- 2fb5fd72-fa96-46c6-ab90-6b7cabebba16

View File

@@ -1,10 +1,13 @@
image: archlinux
packages:
- dbus
- gobject-introspection
- python-cairo
- python-gobject
- python-poetry
- xorg-server-xvfb
sources:
- https://git.sr.ht/~sumner/offlinemsmtp
- https://git.sr.ht/~sumner/sublime-music
environment:
REPO_NAME: sublime-music
# triggers:
@@ -26,7 +29,6 @@ tasks:
cicd/custom_style_check.py
- test: |
./cicd/start-dbus.sh
Xvfb :119 -screen 0 1024x768x16 &
export DISPLAY=:119
./cicd/pytest.sh

View File

@@ -1,9 +1,10 @@
image: archlinux
image: alpine/edge
packages:
- python
- xorg-server-xvfb
- py3-pip
- py3-setuptools
- py3-twine
sources:
- https://git.sr.ht/~sumner/offlinemsmtp
- https://git.sr.ht/~sumner/sublime-music
environment:
REPO_NAME: sublime-music
# triggers:
@@ -16,7 +17,7 @@ tasks:
echo "cd ${REPO_NAME}" >> ~/.buildenv
- build: |
python setup.py sdist
python3 setup.py sdist
- deploy-pypi: |
./cicd/run_if_tagged_with_version \

View File

@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
import re
import subprocess