[*] test .gitlab-ci.yml
This commit is contained in:
1 parent
b34d5b2c9c
commit
1c7539449d
1 file changed
+2
-1
+2
-1
@@ -7,13 +7,14 @@ stages: # List of stages for jobs, and their order of execution
|
|||||||
build-job: # This job runs in the build stage, which runs first.
|
build-job: # This job runs in the build stage, which runs first.
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- echo "Compiling the code..."
|
|
||||||
- php -v
|
- php -v
|
||||||
|
- echo "Installing composer..."
|
||||||
- php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
- php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
||||||
- php composer-setup.php
|
- php composer-setup.php
|
||||||
- php -r "unlink('composer-setup.php');"
|
- php -r "unlink('composer-setup.php');"
|
||||||
- pwd
|
- pwd
|
||||||
- ls
|
- ls
|
||||||
|
- php composer.phar install
|
||||||
- echo "Compile complete."
|
- echo "Compile complete."
|
||||||
|
|
||||||
unit-test-job: # This job runs in the test stage.
|
unit-test-job: # This job runs in the test stage.
|
||||||
|
|||||||
Reference in new issue
Block a user