|
|
@ -1,10 +1,10 @@
|
|
|
|
image: tetraweb/php
|
|
|
|
image: tetraweb/php
|
|
|
|
|
|
|
|
|
|
|
|
#before_script:
|
|
|
|
stages:
|
|
|
|
#- bash ci/docker_install.sh > /dev/null
|
|
|
|
- test
|
|
|
|
|
|
|
|
- deploy
|
|
|
|
|
|
|
|
|
|
|
|
test:
|
|
|
|
test:
|
|
|
|
#when: manual
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
before_script:
|
|
|
|
- apt-get update
|
|
|
|
- apt-get update
|
|
|
|
- apt-get install zip unzip
|
|
|
|
- apt-get install zip unzip
|
|
|
@ -19,4 +19,10 @@ test:
|
|
|
|
- phpunit
|
|
|
|
- phpunit
|
|
|
|
- cd ../../ci
|
|
|
|
- cd ../../ci
|
|
|
|
- bash build_zip.sh
|
|
|
|
- bash build_zip.sh
|
|
|
|
#- php deploy_release_to_github.php
|
|
|
|
#- php deploy_release_to_github.php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
|
|
|
|
when: manual
|
|
|
|
|
|
|
|
script:
|
|
|
|
|
|
|
|
- ls
|
|
|
|
|
|
|
|
- php -r "echo 'Hello, world!';"
|