Add a deploy step and see if it can see what the test step does
This commit is contained in:
parent
db204335e6
commit
abf632b3da
@ -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!';"
|
Loading…
x
Reference in New Issue
Block a user