Update .gitlab-ci.yml

This commit is contained in:
Mathieu Lagace
2018-09-24 15:15:21 +00:00
parent d5151920d8
commit c036745988

View File

@@ -1,11 +1,14 @@
image: php:7.2
cache:
paths:
- vendor/
before_script:
- apt-get update -qq && apt-get install -y -qq sshpass
- apt-get install zip unzip
- php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
- php composer-setup.php
- php -r "unlink('composer-setup.php');"
- php composer.phar install
- npm install
- apt-get update -qq && apt-get install -y -qq sshpass
- apt-get install git -yqq
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install
deploy_stage:
stage: deploy