68 lines
1.4 KiB
YAML
68 lines
1.4 KiB
YAML
image: fedora/33
|
|
packages:
|
|
# Install bootstrap and configure dependencies.
|
|
- automake
|
|
# - gcc
|
|
# - make
|
|
- python3-devel
|
|
- virtualenv
|
|
|
|
# Install make and runtime dependencies.
|
|
# - findutils
|
|
- python3-lxml
|
|
- python3-pillow
|
|
- libffi-devel
|
|
# - which
|
|
|
|
# Install test and docs dependencies.
|
|
- python3-pytest
|
|
- python3-pytest-xdist
|
|
- python3-snowballstemmer
|
|
- python3-sphinx
|
|
- python3-webtest
|
|
|
|
# Install audio dependencies.
|
|
- gstreamer1-plugins-base
|
|
- gstreamer1-plugins-bad-free
|
|
- gstreamer1-plugins-good
|
|
- gstreamer1-plugins-ugly-free
|
|
- python3-numpy
|
|
|
|
# Install video dependencies.
|
|
- python3-gobject
|
|
- python3-gstreamer1
|
|
- gstreamer1-plugin-openh264
|
|
|
|
# # Install raw image dependencies.
|
|
# - libexiv2-dev
|
|
# - libboost-python-dev
|
|
|
|
# # Install document (PDF-only) dependencies.
|
|
# - poppler-utils
|
|
|
|
# Install LDAP depedencies.
|
|
- python3-ldap
|
|
|
|
# Install OpenID dependencies.
|
|
- python3-openid
|
|
|
|
tasks:
|
|
- core: |
|
|
cd mediagoblin
|
|
git show --oneline --no-patch
|
|
./bootstrap.sh
|
|
./configure
|
|
make
|
|
|
|
# # Install raw image library from PyPI as not available in Debian 11.
|
|
# ./bin/pip install py3exiv2
|
|
|
|
# Confirm our packages version for later troubleshooting.
|
|
./bin/python -m pip freeze
|
|
|
|
# Run the tests, explicitly listing out skipped tests.
|
|
./bin/python -m pytest -rs ./mediagoblin/tests --boxed
|
|
|
|
# Build the documentation.
|
|
cd docs && make html
|