mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
Update .gitlab-ci.yml file
This commit is contained in:
+2
-8
@@ -8,10 +8,8 @@ before_script:
|
||||
- apt-get install -yqq
|
||||
|
||||
#install php depandancies
|
||||
- docker-php-ext-install mysqli mbstring pdo pdo_mysql curl json intl gd xml zip bz2 opcache pcntl tidy
|
||||
- docker-php-ext-install mbstring xml
|
||||
|
||||
# Enable php extensions
|
||||
- docker-php-ext-enable pdo_mysql tidy
|
||||
# Install composer package manager
|
||||
- curl --location --output /usr/local/bin/composer https://getcomposer.org/download/latest-stable/composer.phar
|
||||
- chmod +x /usr/local/bin/composer
|
||||
@@ -19,12 +17,8 @@ before_script:
|
||||
#jobs
|
||||
build_job:
|
||||
stage: build
|
||||
image: php:7.4
|
||||
script:
|
||||
- apt-get update && apt-get install -y unzip
|
||||
- apt-get install -y php-xml
|
||||
- curl -sS https://getcomposer.org/installer | php
|
||||
- composer.phar install --ignore-platform-reqs
|
||||
- composer install --ignore-platform-reqs
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH =~ /.*/'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user