您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Mods-for-HESK-Netsyms/.gitlab-ci.yml

32 行
549 B
YAML

7 年前
image: tetraweb/php
stages:
- test
- deploy
before_script:
7 年前
- apt-get update
- apt-get install zip unzip
7 年前
- cd api
7 年前
- php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
- php composer-setup.php
- php -r "unlink('composer-setup.php');"
7 年前
- php composer.phar update
test:
stage: test
script:
- composer install
- cd Tests
- phpunit
deploy:
when: manual
7 年前
stage: deploy
script:
- composer install --no-dev
- cd ../ci
- bash build_zip.sh
artifacts:
paths:
- release.zip