1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-23 00:11:20 +01:00
Daniil Gentili fdfb23216d
Some checks failed
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/tag/build Pipeline failed
ci/woodpecker/tag/deploy unknown status
Switch to PHP 8.1+
2022-11-04 14:16:30 +01:00

56 lines
938 B
YAML

matrix:
php:
- "8.1"
clone:
git:
when:
event:
- tag
- push
image: woodpeckerci/plugin-git
settings:
depth: 1
lfs: false
recursive: false
tags: true
pipeline:
build:
group: build
image: 192.168.69.1:5000/php-ci:latest
when:
event:
- tag
- push
secrets:
- GITHUB_TOKEN
- API_ID
- API_HASH
- BOT_TOKEN
- DEST
environment:
- PHP_VERSION=${php}
- TAG=${CI_COMMIT_TAG}
commands:
- tests/makephar.sh
services:
mariadb:
image: mariadb
environment:
- MARIADB_DATABASE=MadelineProto
- MARIADB_USER=MadelineProto
- MARIADB_PASSWORD=test
- MARIADB_RANDOM_ROOT_PASSWORD=yes
postgres:
image: postgres
environment:
- POSTGRES_DB=MadelineProto
- POSTGRES_USER=MadelineProto
- POSTGRES_PASSWORD=test
redis:
image: redis