We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

Commit e7560b42 authored by Ivan Chepurnyi's avatar Ivan Chepurnyi

! Fix travis build

parent ba40a212
......@@ -7,21 +7,22 @@ env:
- MAGE=1.6.2.0
- MAGE=1.5.1.0
before_script:
- MAGE_DIR=tests/magento
# Copying travis composer.json to test only module
- cp -f .travis/composer.json composer.json
# Installing dependencies
- composer install
# Installing magento version with prepared DB dump
- bin/mage-ci install tests/magento $MAGE magento -c -r http://mage-ci.ecomdev.org
- bin/mage-ci install $MAGE_DIR $MAGE magento -c -r http://mage-ci.ecomdev.org
# Installing EcomDev_PHPUnit module
- bin/mage-ci install-module tests/magento $(pwd)
- bin/mage-ci install-module $MAGE_DIR $(pwd)
# Configuring EcomDev_PHPUnit module
- bin/mage-ci shell ecomdev-phpunit.php -a magento-config --db-name magento --same-db 1 --base_url http://test.magento.com/
- bin/mage-ci shell $MAGE_DIR ecomdev-phpunit.php -a magento-config --db-name magento --same-db 1 --base_url http://test.magento.com/
# Configuring test suite
- bin/mage-ci shell ecomdev-phpunit.php -a change-status --enable
- bin/mage-ci shell $MAGE_DIR ecomdev-phpunit.php -a change-status --enable
# Fix Magento autoloader to run test
- bin/mage-ci shell ecomdev-phpunit.php -a fix-autoloader
- bin/mage-ci shell $MAGE_DIR ecomdev-phpunit.php -a fix-autoloader
# Copying phpunit.xml for travis builds
- cp .travis/phpunit.xml tests/magento/phpunit.xml
- cp .travis/phpunit.xml $MAGE_DIR/phpunit.xml
script:
- bin/mage-ci phpunit tests/magento --colors --coverage-text
- bin/mage-ci phpunit $MAGE_DIR --colors --coverage-text
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment