1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 07:58:58 +01:00
MadelineProto/.woodpecker/.build.yml
Daniil Gentili c5588bb626
All checks were successful
ci/woodpecker/push/build Pipeline was successful
Test database as well
2022-06-23 14:31:41 +02:00

57 lines
931 B
YAML

matrix:
php:
- "8.1"
- "8.0"
- "7.4"
- "7.3"
- "7.2"
- "7.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
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
postgres:
image: postgres
environment:
- POSTGRES_DB=MadelineProto
- POSTGRES_USER=MadelineProto
- POSTGRES_PASSWORD=test
redis:
image: redis