-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rultor.yml
46 lines (29 loc) · 982 Bytes
/
.rultor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
architect:
- maxonfjvipon
docker:
as_root: true
merge:
commanders:
- maxonfjvipon
script: |-
composer validate --strict
add-apt-repository ppa:ondrej/php -y
sudo apt-get update
apt install php8.1 -y
apt-get install php8.1-{xml,mbstring,xdebug} -y
sudo update-alternatives --set php /usr/bin/php8.1
echo 'xdebug.mode=coverage' >> /etc/php/8.1/cli/php.ini
composer install --prefer-dist --no-progress
./pre-push.sh
release:
script: |-
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1
composer validate --strict
add-apt-repository ppa:ondrej/php -y
sudo apt-get update
apt install php8.1 -y
apt-get install php8.1-{xml,mbstring,xdebug} -y
sudo update-alternatives --set php /usr/bin/php8.1
echo 'xdebug.mode=coverage' >> /etc/php/8.1/cli/php.ini
composer install --prefer-dist --no-progress
./pre-push.sh