Added script.sh, updated travis config
This commit is contained in:
parent
7e7556fef3
commit
4c23faf1f4
@ -28,8 +28,7 @@ before_script:
|
|||||||
- bash bin/install.sh
|
- bash bin/install.sh
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cd ../magento2
|
- bash bin/script.sh
|
||||||
- php vendor/phpunit/phpunit/phpunit -c dev/tests/unit/phpunit.xml.dist app/code/Retailcrm/Retailcrm/Test/Unit/
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
|
9
bin/script.sh
Normal file
9
bin/script.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
if [ -z $TRAVIS_BUILD_DIR ]; then
|
||||||
|
exit 0;
|
||||||
|
fi
|
||||||
|
|
||||||
|
MAGE_ROOT=$TRAVIS_BUILD_DIR/../magento2
|
||||||
|
cd $MAGE_ROOT
|
||||||
|
php vendor/phpunit/phpunit/phpunit -c dev/tests/unit/phpunit.xml.dist app/code/Retailcrm/Retailcrm/Test/Unit
|
Loading…
Reference in New Issue
Block a user