image: tetraweb/php

#before_script:
#- bash ci/docker_install.sh > /dev/null

test:
  #when: manual
  before_script:
  - apt-get update
  - apt-get install zip unzip
  script:
  - 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
  - composer install
  - cd Tests
  - phpunit
  - cd ../../ci
  - bash build_zip.sh
  #-  php deploy_release_to_github.php
image: tetraweb/php

stages:
  - test
  - deploy

test:
  before_script:
  - apt-get update
  - apt-get install zip unzip
  script:
  - 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
  - composer install
  - cd Tests
  - phpunit
  - cd ../../ci
  - bash build_zip.sh
  #-  php deploy_release_to_github.php

deploy:
  when: manual
  script:
  - ls
  - php -r "echo 'Hello, world!';"
Add a deploy step and see if it can see what the test step does
Add a deploy step and see if it can see what the test step does
