You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mods-for-HESK-Netsyms/.gitlab-ci.yml

32 line
549 B
YAML

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