Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
M2 content provisioning
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TechDivision Public
M2 content provisioning
Commits
1c6db10b
Commit
1c6db10b
authored
6 years ago
by
Vadim Justus
Browse files
Options
Downloads
Patches
Plain Diff
Update travis phpunit configuration
parent
27d6c6b1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+5
-4
5 additions, 4 deletions
.travis.yml
Test/Integration/phpunit.travis.xml
+56
-0
56 additions, 0 deletions
Test/Integration/phpunit.travis.xml
Test/Integration/phpunit.xml
+0
-6
0 additions, 6 deletions
Test/Integration/phpunit.xml
with
61 additions
and
10 deletions
.travis.yml
+
5
−
4
View file @
1c6db10b
...
...
@@ -20,10 +20,11 @@ before_install:
-
mysql -uroot -e 'SET @@global.sql_mode = NO_ENGINE_SUBSTITUTION; CREATE DATABASE magento_integration_tests;'
-
mv /tmp/magento/dev/tests/integration/etc/install-config-mysql.travis.php.dist /tmp/magento/dev/tests/integration/etc/install-config-mysql.php
-
mkdir -p /tmp/magento/app/code/Firegento
-
ln
-
s
$(pwd) /tmp/magento/app/code/Firegento/ContentProvisioning
-
cp
-
R
$(pwd) /tmp/magento/app/code/Firegento/ContentProvisioning
before_script
:
-
php /tmp/magento/bin/magento setup:upgrade
install
:
-
cd /tmp/magento
-
composer install --no-interaction
script
:
-
php /tmp/magento/vendor/bin/phpunit -c /tmp/magento/app/code/Firegento/ContentProvisioning/Test/Integration/phpunit.xml
-
php /tmp/magento/vendor/bin/phpunit -c /tmp/magento/app/code/Firegento/ContentProvisioning/Test/Integration/phpunit.
travis.
xml
This diff is collapsed.
Click to expand it.
Test/Integration/phpunit.travis.xml
0 → 100644
+
56
−
0
View file @
1c6db10b
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"http://schema.phpunit.de/6.2/phpunit.xsd"
colors=
"true"
columns=
"max"
beStrictAboutTestsThatDoNotTestAnything=
"false"
bootstrap=
"/tmp/magento/dev/tests/integration/framework/bootstrap.php"
stderr=
"true"
>
<!-- Test suites definition -->
<testsuites>
<testsuite
name=
"Magento Integration Tests"
>
<directory
suffix=
"Test.php"
>
.
</directory>
</testsuite>
</testsuites>
<!-- PHP INI settings and constants definition -->
<php>
<includePath>
.
</includePath>
<includePath>
/tmp/magento/dev/tests/integration/
</includePath>
<ini
name=
"date.timezone"
value=
"America/Los_Angeles"
/>
<ini
name=
"xdebug.max_nesting_level"
value=
"200"
/>
<!-- Local XML configuration file ('.dist' extension will be added, if the specified file doesn't exist) -->
<const
name=
"TESTS_INSTALL_CONFIG_FILE"
value=
"etc/install-config-mysql.php"
/>
<!-- Local XML configuration file ('.dist' extension will be added, if the specified file doesn't exist) -->
<const
name=
"TESTS_GLOBAL_CONFIG_FILE"
value=
"etc/config-global.php"
/>
<!-- Semicolon-separated 'glob' patterns, that match global XML configuration files -->
<const
name=
"TESTS_GLOBAL_CONFIG_DIR"
value=
"../../../app/etc"
/>
<!-- Whether to cleanup the application before running tests or not -->
<const
name=
"TESTS_CLEANUP"
value=
"enabled"
/>
<!-- Memory usage and estimated leaks thresholds -->
<!--<const name="TESTS_MEM_USAGE_LIMIT" value="1024M"/>-->
<const
name=
"TESTS_MEM_LEAK_LIMIT"
value=
""
/>
<!-- Path to Percona Toolkit bin directory -->
<!--<const name="PERCONA_TOOLKIT_BIN_DIR" value=""/>-->
<!-- CSV Profiler Output file -->
<!--<const name="TESTS_PROFILER_FILE" value="profiler.csv"/>-->
<!-- Bamboo compatible CSV Profiler Output file name -->
<!--<const name="TESTS_BAMBOO_PROFILER_FILE" value="profiler.csv"/>-->
<!-- Metrics for Bamboo Profiler Output in PHP file that returns array -->
<!--<const name="TESTS_BAMBOO_PROFILER_METRICS_FILE" value="../../build/profiler_metrics.php"/>-->
<!-- Whether to output all CLI commands executed by the bootstrap and tests -->
<const
name=
"TESTS_EXTRA_VERBOSE_LOG"
value=
"1"
/>
<!-- Magento mode for tests execution. Possible values are "default", "developer" and "production". -->
<const
name=
"TESTS_MAGENTO_MODE"
value=
"developer"
/>
<!-- Minimum error log level to listen for. Possible values: -1 ignore all errors, and level constants form http://tools.ietf.org/html/rfc5424 standard -->
<const
name=
"TESTS_ERROR_LOG_LISTENER_LEVEL"
value=
"-1"
/>
<!-- Connection parameters for MongoDB library tests -->
<!--<const name="MONGODB_CONNECTION_STRING" value="mongodb://localhost:27017"/>-->
<!--<const name="MONGODB_DATABASE_NAME" value="magento_integration_tests"/>-->
</php>
<!-- Test listeners -->
<listeners>
<listener
class=
"Magento\TestFramework\Event\PhpUnit"
/>
<listener
class=
"Magento\TestFramework\ErrorLog\Listener"
/>
</listeners>
</phpunit>
This diff is collapsed.
Click to expand it.
Test/Integration/phpunit.xml
+
0
−
6
View file @
1c6db10b
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<phpunit
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"http://schema.phpunit.de/6.2/phpunit.xsd"
colors=
"true"
...
...
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