forked from magento/magento2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
Conflicts: app/code/Magento/Weee/Model/Tax.php
- Loading branch information
Showing
25,883 changed files
with
1,543,785 additions
and
781,905 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,37 @@ | ||
/.buildpath | ||
/.cache | ||
/.htaccess | ||
/.metadata | ||
/.project | ||
/.settings | ||
atlassian* | ||
/index.php | ||
/nbproject | ||
/sitemap | ||
/.htaccess.orig | ||
/.idea | ||
/.gitattributes | ||
/app/config_sandbox | ||
/app/etc/local.xml | ||
/app/etc/local.xml.* | ||
/app/etc/*/module.xml | ||
/downloader/.cache | ||
/downloader/cache.cfg | ||
/downloader/connect.cfg | ||
/lib/flex/uploader/.actionScriptProperties | ||
/lib/flex/uploader/.flexProperties | ||
/lib/flex/uploader/.project | ||
/lib/flex/uploader/.settings | ||
/lib/flex/varien/.actionScriptProperties | ||
/lib/flex/varien/.flexLibProperties | ||
/lib/flex/varien/.project | ||
/lib/flex/varien/.settings | ||
/pub/cache/* | ||
/pub/media/* | ||
/lib/internal/flex/uploader/.actionScriptProperties | ||
/lib/internal/flex/uploader/.flexProperties | ||
/lib/internal/flex/uploader/.project | ||
/lib/internal/flex/uploader/.settings | ||
/lib/internal/flex/varien/.actionScriptProperties | ||
/lib/internal/flex/varien/.flexLibProperties | ||
/lib/internal/flex/varien/.project | ||
/lib/internal/flex/varien/.settings | ||
|
||
/pub/media/*.* | ||
!/pub/media/.htaccess | ||
/pub/media/customer/* | ||
!/pub/media/customer/.htaccess | ||
/pub/media/downloadable/* | ||
!/pub/media/downloadable/.htaccess | ||
/pub/media/theme/* | ||
/pub/media/theme_customization/* | ||
!/pub/media/theme_customization/.htaccess | ||
/pub/static/* | ||
!/pub/static/.htaccess | ||
|
||
/var/* | ||
/app/code/Magento/TestModule* | ||
!/var/.htaccess | ||
/vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
language: php | ||
php: | ||
- 5.4 | ||
- 5.5 | ||
env: | ||
- TEST_SUITE=unit | ||
- TEST_SUITE=integration | ||
- TEST_SUITE=integration_integrity | ||
- TEST_SUITE=static_phpcs | ||
- TEST_SUITE=static_annotation | ||
matrix: | ||
exclude: | ||
- php: 5.5 | ||
env: TEST_SUITE=static_phpcs | ||
- php: 5.5 | ||
env: TEST_SUITE=static_annotation | ||
before_install: | ||
- sudo apt-get update -qq | ||
- sudo apt-get install -y -qq postfix | ||
before_script: | ||
# mock mail | ||
- sudo service postfix stop | ||
- smtp-sink -d "%d.%H.%M.%S" localhost:2500 1000 & | ||
- echo -e '#!/usr/bin/env bash\nexit 0' | sudo tee /usr/sbin/sendmail | ||
- echo 'sendmail_path = "/usr/sbin/sendmail -t -i "' | sudo tee "/home/travis/.phpenv/versions/`php -i | grep "PHP Version" | head -n 1 | grep -o -P '\d+\.\d+\.\d+.*'`/etc/conf.d/sendmail.ini" | ||
# Disable xDebug | ||
- echo '' > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini | ||
# Create DB for Integration tests | ||
- sh -c "if [ '$TEST_SUITE' = 'integration' ] || [ '$TEST_SUITE' = 'integration_integrity' ]; then mysql -e 'create database magento_integration_tests;'; mv dev/tests/integration/etc/local-mysql.travis.xml.dist dev/tests/integration/etc/local-mysql.xml; fi" | ||
# Install tools for static tests | ||
- sh -c "if [ '$TEST_SUITE' = 'static_phpcs' ] || [ '$TEST_SUITE' = 'static_annotation' ]; then pear install pear/PHP_CodeSniffer-1.5.2; fi" | ||
# Change memmory_limit for travis server | ||
- echo 'memory_limit = -1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini | ||
- phpenv rehash; | ||
- composer install --no-interaction --prefer-source --dev | ||
- cd setup | ||
- composer install --no-interaction --prefer-source --dev | ||
- cd .. | ||
script: | ||
# Unit tests | ||
- sh -c "if [ '$TEST_SUITE' = 'unit' ]; then ./vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.dist; fi" | ||
# Integration tests | ||
- sh -c "if [ '$TEST_SUITE' = 'integration' ]; then cd dev/tests/integration/; ./../../../vendor/bin/phpunit -c phpunit.xml.dist; fi" | ||
# Integration integrity tests | ||
- sh -c "if [ '$TEST_SUITE' = 'integration_integrity' ]; then cd dev/tests/integration/; ./../../../vendor/bin/phpunit -c phpunit.xml.dist testsuite/Magento/Test/Integrity; fi" | ||
# Static tests [Code Style] | ||
- sh -c "if [ '$TEST_SUITE' = 'static_phpcs' ]; then cd dev/tests/static; ./../../../vendor/bin/phpunit -c phpunit.xml.dist --filter 'Magento\\\\Test\\\\Php\\\\LiveCodeTest::testCodeStyle'; fi" | ||
# Static tests [Code Style] | ||
- sh -c "if [ '$TEST_SUITE' = 'static_annotation' ]; then cd dev/tests/static; ./../../../vendor/bin/phpunit -c phpunit.xml.dist --filter 'Magento\\\\Test\\\\Php\\\\LiveCodeTest::testAnnotationStandard'; fi" |
Oops, something went wrong.