Skip to content
Snippets Groups Projects
Commit 0ca6eedd authored by Krzysiek's avatar Krzysiek
Browse files

Fix for composer in docker + environments

parent b5223d9a
Branches
Tags 1.10.1
No related merge requests found
......@@ -53,7 +53,7 @@ code style test:
script:
- ls -l
- php --version
- php composer.phar phpcs
- composer phpcs
unit test 0:
image: wpdesknet/phpunit-woocommerce:0-0
......@@ -64,7 +64,7 @@ unit test 0:
script:
- ls -l
- php --version
- php composer.phar phpunit-unit
- composer phpunit-unit
integration test 0-0:
image: wpdesknet/phpunit-woocommerce:0-0
......@@ -76,7 +76,7 @@ integration test 0-0:
- build php
script:
- php --version
- php composer.phar phpunit-integration
- composer phpunit-integration
integration test 1-1:
image: wpdesknet/phpunit-woocommerce:1-1
......@@ -88,7 +88,7 @@ integration test 1-1:
- build php
script:
- php --version
- php composer.phar phpunit-integration
- composer phpunit-integration
integration test 2-2:
image: wpdesknet/phpunit-woocommerce:2-2
......@@ -100,7 +100,7 @@ integration test 2-2:
- build php
script:
- php --version
- php composer.phar phpunit-integration
- composer phpunit-integration
integration test 3-3:
image: wpdesknet/phpunit-woocommerce:3-3
......@@ -163,7 +163,7 @@ build to deploy:
- cp -rf ${CI_PROJECT_DIR}/* /tmp/release
- cp -rf /tmp/release/* ${CI_PROJECT_DIR}/release
- cd ${CI_PROJECT_DIR}/release
- php composer.phar install --no-dev --no-progress
- composer install --no-dev --no-progress
- rm -rf build-coverage
- rm -rf release
- rm -rf tests
......@@ -195,6 +195,9 @@ deploy to shop:
- /tmp/deploy_shop.sh ${CI_PROJECT_NAME} release.zip ${CI_PROJECT_NAME}.zip
only:
- tags
environment:
name: wpdesk shop
url: https://wpdeskplugin.s3.amazonaws.com/$CI_PROJECT_NAME.zip
when: manual
deploy to repository:
......@@ -210,4 +213,7 @@ deploy to repository:
- /tmp/deploy_repository.sh flexible-pdf release /tmp/svn-repository
only:
- tags
environment:
name: wordpress repository
url: https://downloads.wordpress.org/plugin/$CI_PROJECT_NAME.$CI_COMMIT_REF_NAME.zip
when: manual
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment