Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Mods-for-HESK-Netsyms/.gitlab-ci.yml

32 lignes
549 B
YAML

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