Updated .gitlab-ci.yml
This commit is contained in:
parent
7279212387
commit
c0bde40fea
1 changed files with 8 additions and 3 deletions
|
@ -1,16 +1,19 @@
|
||||||
|
image: php:8.2
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- setup
|
- setup
|
||||||
- install
|
- install
|
||||||
- build
|
- build
|
||||||
- publish
|
- publish
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- apt update -yqq
|
||||||
|
- apt install -yqq git libzip-dev zip make wget gnupg2 libonig-dev libcurl4-openssl-dev
|
||||||
|
|
||||||
# Prepare the environment
|
# Prepare the environment
|
||||||
setup:
|
setup:
|
||||||
stage: setup
|
stage: setup
|
||||||
image: php:8.2
|
|
||||||
script:
|
script:
|
||||||
- apt update -yqq
|
|
||||||
- apt install git libzip-dev zip make wget libonig-dev libcurl4-openssl-dev -yqq
|
|
||||||
- docker-php-ext-install mbstring ctype posix zip curl fileinfo
|
- docker-php-ext-install mbstring ctype posix zip curl fileinfo
|
||||||
|
|
||||||
# Install Phive and Phpab
|
# Install Phive and Phpab
|
||||||
|
@ -19,6 +22,8 @@ install:
|
||||||
script:
|
script:
|
||||||
- wget -O phive.phar https://phar.io/releases/phive.phar
|
- wget -O phive.phar https://phar.io/releases/phive.phar
|
||||||
- wget -O phive.phar.asc https://phar.io/releases/phive.phar.asc
|
- wget -O phive.phar.asc https://phar.io/releases/phive.phar.asc
|
||||||
|
- gpg --keyserver hkps://keys.openpgp.org --recv-keys 0x9D8A98B29B2D5D79
|
||||||
|
- gpg --verify phive.phar.asc phive.phar
|
||||||
- chmod +x phive.phar
|
- chmod +x phive.phar
|
||||||
- mv phive.phar /usr/local/bin/phive
|
- mv phive.phar /usr/local/bin/phive
|
||||||
- phive install phpab --global
|
- phive install phpab --global
|
||||||
|
|
Loading…
Add table
Reference in a new issue