Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-ci
Manage
Activity
Members
Code
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
gitlab-ci
Commits
d5d9b27c
Commit
d5d9b27c
authored
6 years ago
by
Grzegorz Rola
Browse files
Options
Downloads
Patches
Plain Diff
junit reports
parent
e7efc5b9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
gitlab-ci-1.2.yml
+7
-4
7 additions, 4 deletions
gitlab-ci-1.2.yml
with
7 additions
and
4 deletions
gitlab-ci-1.2.yml
+
7
−
4
View file @
d5d9b27c
...
...
@@ -21,6 +21,9 @@ stages:
.template
:
&job-test-template
stage
:
tests
coverage
:
'
/^\s*Lines:\s*\d+.\d+\%/'
artifacts
:
reports
:
junit
:
tmp_artifacts/report.xml
.template
:
&job-test-integration-template
<<
:
*job-test-template
...
...
@@ -34,7 +37,7 @@ stages:
-
cat /tmp/woocommerce/woocommerce.php
-
composer update --no-progress --prefer-dist
-
if [[ -f tests/integration/prepare.sh ]]; then sh tests/integration/prepare.sh; fi
-
vendor/bin/phpunit --configuration phpunit-integration.xml --coverage-text --colors=never
-
vendor/bin/phpunit --configuration phpunit-integration.xml --coverage-text --colors=never
--log-junit tmp_artifacts/report.xml
only
:
-
master
...
...
@@ -48,7 +51,7 @@ stages:
-
cat /tmp/woocommerce/woocommerce.php
-
composer update --no-progress --prefer-dist
-
if [[ -f tests/integration/prepare.sh ]]; then sh tests/integration/prepare.sh; fi
-
vendor/bin/phpunit --configuration phpunit-integration.xml --no-coverage
-
vendor/bin/phpunit --configuration phpunit-integration.xml --no-coverage
--log-junit tmp_artifacts/report.xml
except
:
-
tags
only
:
...
...
@@ -62,7 +65,7 @@ stages:
-
cat /tmp/wordpress-develop/src/wp-includes/version.php
-
cat /tmp/woocommerce/woocommerce.php
-
composer update --no-progress --prefer-dist
-
vendor/bin/phpunit --configuration phpunit-unit.xml --coverage-text --colors=never
-
vendor/bin/phpunit --configuration phpunit-unit.xml --coverage-text --colors=never
--log-junit tmp_artifacts/report.xml
only
:
-
master
...
...
@@ -75,7 +78,7 @@ stages:
-
cat /tmp/wordpress-develop/src/wp-includes/version.php
-
cat /tmp/woocommerce/woocommerce.php
-
composer update --no-progress --prefer-dist
-
vendor/bin/phpunit --configuration phpunit-unit.xml --no-coverage
-
vendor/bin/phpunit --configuration phpunit-unit.xml --no-coverage
--log-junit tmp_artifacts/report.xml
.template
:
&job-deploy-template
image
:
wpdesknet/amazon-svn-deploy
...
...
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