mediagoblin/.builds/debian-10-with-site-packages.yml
Ben Sturmfels 7e2a2ecfdc Extend Fedora Dockerfile, add sourcehut builds for Debian and Fedora.
Previously had partial docs for Fedora 31. This updates to Fedora 33, adds
support for audio and video and adds dependencies to allow the test suite to run
to completion.
2021-03-09 14:47:40 +11:00

60 lines
1.3 KiB
YAML

image: debian/buster
packages:
# Install bootstrap and configure dependencies.
- automake
- nodejs
- npm
- python3-dev
- virtualenv
# Install make and runtime dependencies.
- python3-alembic
- python3-jsonschema
- python3-kombu
- python3-lxml
- python3-migrate
- python3-pillow
- python3-py
- python3-pytest
- python3-pytest-xdist
- python3-snowballstemmer
- python3-sphinx
- python3-sphinxcontrib.websupport
- python3-webtest
# Install audio dependencies.
- gstreamer1.0-libav
- gstreamer1.0-plugins-bad
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-ugly
- python3-gst-1.0
- python3-numpy
# Install video dependencies.
- gir1.2-gst-plugins-base-1.0
- gir1.2-gstreamer-1.0
- gstreamer1.0-tools
- python3-gi
# Install raw image dependencies.
- libexiv2-dev
- libboost-python-dev
# Install document (PDF-only) dependencies.
- poppler-utils
tasks:
- core: |
cd mediagoblin
git show --oneline --no-patch
./bootstrap.sh
VIRTUALENV_FLAGS='--system-site-packages' ./configure
make
# Install raw image library from PyPI as not available in Debian 10.
./bin/pip install py3exiv2
# Run the tests, explicitly listing out skipped tests.
./bin/python -m pytest -rs ./mediagoblin/tests --boxed