- Add videodb PHP/MySQL media collection manager (Blu-ray, DVD, CD) - Dockerfile: PHP 8.1 + Apache with GD/mysqli/exif extensions - docker-compose.yml: app on port 6761 + MySQL 8.0 with health checks - docker-entrypoint.sh: auto-generates config.inc.php from env vars, waits for MySQL, initializes DB schema idempotently - init-db.php: CLI schema installer using app's own prefix_query() logic - Persistent volumes for DB, cache, and cover images Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
44 lines
693 B
YAML
44 lines
693 B
YAML
sudo: false
|
|
|
|
language: php
|
|
php:
|
|
- 5.6
|
|
- 7.0
|
|
- 7.1
|
|
- 7.2
|
|
- 7.3
|
|
- 7.4
|
|
- 8.0
|
|
- nightly
|
|
|
|
stages:
|
|
- analyze
|
|
- test
|
|
|
|
jobs:
|
|
fast_finish: true
|
|
allow_failures:
|
|
- php: nightly
|
|
include:
|
|
- stage: analyze
|
|
php: 7.4
|
|
install:
|
|
- composer install --prefer-dist
|
|
script:
|
|
- php vendor/bin/php-cs-fixer fix --dry-run --diff
|
|
- composer validate
|
|
- find OLE* -type f -name \*.php | xargs -n1 php -l
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.composer/cache
|
|
- $HOME/.cache/cache
|
|
|
|
install:
|
|
- composer remove --no-update --dev
|
|
friendsofphp/php-cs-fixer
|
|
- composer install --prefer-dist
|
|
|
|
script:
|
|
- vendor/bin/phpunit --verbose
|