forked from EcomDev/EcomDev_PHPUnit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (29 loc) · 1.02 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
language: php
php:
- 5.3
- 5.4
env:
- MAGE=1.9.0.1
- MAGE=1.8.1.0
- MAGE=1.7.0.2
- 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 $MAGE_DIR $MAGE magento -c -r http://mage-ci.ecomdev.org
# Installing EcomDev_PHPUnit module
- bin/mage-ci install-module $MAGE_DIR $(pwd)
# Configuring EcomDev_PHPUnit module
- 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 $MAGE_DIR ecomdev-phpunit.php -a change-status --enable
# Copying phpunit.xml for travis builds
- cp .travis/phpunit.xml $MAGE_DIR/phpunit.xml
script:
# output php ini info for checking the problem
- bin/mage-ci phpunit $MAGE_DIR --colors --coverage-text -d display_errors=1