Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
plugin-template
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
Library
plugin-template
Commits
0ca6eedd
Commit
0ca6eedd
authored
7 years ago
by
Krzysiek
Browse files
Options
Downloads
Patches
Plain Diff
Fix for composer in docker + environments
parent
b5223d9a
Branches
Branches containing commit
Tags
1.10.1
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+12
-6
12 additions, 6 deletions
.gitlab-ci.yml
with
12 additions
and
6 deletions
.gitlab-ci.yml
+
12
−
6
View file @
0ca6eedd
...
@@ -53,7 +53,7 @@ code style test:
...
@@ -53,7 +53,7 @@ code style test:
script
:
script
:
-
ls -l
-
ls -l
-
php --version
-
php --version
-
php
composer
.phar
phpcs
-
composer phpcs
unit test 0
:
unit test 0
:
image
:
wpdesknet/phpunit-woocommerce:0-0
image
:
wpdesknet/phpunit-woocommerce:0-0
...
@@ -64,7 +64,7 @@ unit test 0:
...
@@ -64,7 +64,7 @@ unit test 0:
script
:
script
:
-
ls -l
-
ls -l
-
php --version
-
php --version
-
php
composer
.phar
phpunit-unit
-
composer phpunit-unit
integration test 0-0
:
integration test 0-0
:
image
:
wpdesknet/phpunit-woocommerce:0-0
image
:
wpdesknet/phpunit-woocommerce:0-0
...
@@ -76,7 +76,7 @@ integration test 0-0:
...
@@ -76,7 +76,7 @@ integration test 0-0:
-
build php
-
build php
script
:
script
:
-
php --version
-
php --version
-
php
composer
.phar
phpunit-integration
-
composer phpunit-integration
integration test 1-1
:
integration test 1-1
:
image
:
wpdesknet/phpunit-woocommerce:1-1
image
:
wpdesknet/phpunit-woocommerce:1-1
...
@@ -88,7 +88,7 @@ integration test 1-1:
...
@@ -88,7 +88,7 @@ integration test 1-1:
-
build php
-
build php
script
:
script
:
-
php --version
-
php --version
-
php
composer
.phar
phpunit-integration
-
composer phpunit-integration
integration test 2-2
:
integration test 2-2
:
image
:
wpdesknet/phpunit-woocommerce:2-2
image
:
wpdesknet/phpunit-woocommerce:2-2
...
@@ -100,7 +100,7 @@ integration test 2-2:
...
@@ -100,7 +100,7 @@ integration test 2-2:
-
build php
-
build php
script
:
script
:
-
php --version
-
php --version
-
php
composer
.phar
phpunit-integration
-
composer phpunit-integration
integration test 3-3
:
integration test 3-3
:
image
:
wpdesknet/phpunit-woocommerce:3-3
image
:
wpdesknet/phpunit-woocommerce:3-3
...
@@ -163,7 +163,7 @@ build to deploy:
...
@@ -163,7 +163,7 @@ build to deploy:
-
cp -rf ${CI_PROJECT_DIR}/* /tmp/release
-
cp -rf ${CI_PROJECT_DIR}/* /tmp/release
-
cp -rf /tmp/release/* ${CI_PROJECT_DIR}/release
-
cp -rf /tmp/release/* ${CI_PROJECT_DIR}/release
-
cd ${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 build-coverage
-
rm -rf release
-
rm -rf release
-
rm -rf tests
-
rm -rf tests
...
@@ -195,6 +195,9 @@ deploy to shop:
...
@@ -195,6 +195,9 @@ deploy to shop:
-
/tmp/deploy_shop.sh ${CI_PROJECT_NAME} release.zip ${CI_PROJECT_NAME}.zip
-
/tmp/deploy_shop.sh ${CI_PROJECT_NAME} release.zip ${CI_PROJECT_NAME}.zip
only
:
only
:
-
tags
-
tags
environment
:
name
:
wpdesk shop
url
:
https://wpdeskplugin.s3.amazonaws.com/$CI_PROJECT_NAME.zip
when
:
manual
when
:
manual
deploy to repository
:
deploy to repository
:
...
@@ -210,4 +213,7 @@ deploy to repository:
...
@@ -210,4 +213,7 @@ deploy to repository:
-
/tmp/deploy_repository.sh flexible-pdf release /tmp/svn-repository
-
/tmp/deploy_repository.sh flexible-pdf release /tmp/svn-repository
only
:
only
:
-
tags
-
tags
environment
:
name
:
wordpress repository
url
:
https://downloads.wordpress.org/plugin/$CI_PROJECT_NAME.$CI_COMMIT_REF_NAME.zip
when
:
manual
when
:
manual
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment