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

31 lines
547 B
YAML

7 years ago
image: tetraweb/php
stages:
- test
- deploy
before_script:
7 years ago
- apt-get update
- apt-get install zip unzip
test:
stage: test
7 years ago
script:
- cd api
7 years ago
- php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
- php composer-setup.php
- php -r "unlink('composer-setup.php');"
7 years ago
- php composer.phar update
- composer install
- cd Tests
- phpunit
- cd ../../ci
- bash build_zip.sh
#- php deploy_release_to_github.php
7 years ago
deploy:
when: manual
7 years ago
stage: deploy
script:
- ls
- php -r "echo 'Hello, world!';"