@@ -75,22 +75,26 @@ case $TEST_SUITE in
7575 cat " $changed_files_ce " | sed ' s/^/ + including /'
7676
7777 cd ../../..
78-
79- cp package.json.sample package.json
80- cp Gruntfile.js.sample Gruntfile.js
81- yarn
8278 ;;
8379 js)
8480 cp package.json.sample package.json
8581 cp Gruntfile.js.sample Gruntfile.js
8682 yarn
8783
88- echo " Installing Magento"
89- mysql -uroot -e ' CREATE DATABASE magento2;'
90- php bin/magento setup:install -q --admin-user=" admin" --admin-password=" 123123q" --admin-email=" admin@example.com" --admin-firstname=" John" --admin-lastname=" Doe"
91-
92- echo " Deploying Static Content"
93- php bin/magento setup:static-content:deploy -f -q -j=2 --no-css --no-less --no-images --no-fonts --no-misc --no-html-minify
84+ if [[ $GRUNT_COMMAND != " static" ]]; then
85+ echo " Installing Magento"
86+ mysql -uroot -e ' CREATE DATABASE magento2;'
87+ php bin/magento setup:install -q \
88+ --admin-user=" admin" \
89+ --admin-password=" 123123q" \
90+ --admin-email=" admin@example.com" \
91+ --admin-firstname=" John" \
92+ --admin-lastname=" Doe"
93+
94+ echo " Deploying Static Content"
95+ php bin/magento setup:static-content:deploy -f -q -j=2 \
96+ --no-css --no-less --no-images --no-fonts --no-misc --no-html-minify
97+ fi
9498 ;;
9599 functional)
96100 echo " Installing Magento"
@@ -117,7 +121,9 @@ case $TEST_SUITE in
117121
118122 composer install && composer require se/selenium-server-standalone:2.53.1
119123 export DISPLAY=:1.0
120- sh ./vendor/se/selenium-server-standalone/bin/selenium-server-standalone -port 4444 -host 127.0.0.1 -Dwebdriver.firefox.bin=$( which firefox) -trustAllSSLCertificate & > ~ /selenium.log &
124+ sh ./vendor/se/selenium-server-standalone/bin/selenium-server-standalone -port 4444 -host 127.0.0.1 \
125+ -Dwebdriver.firefox.bin=$( which firefox) -trustAllSSLCertificate & > ~ /selenium.log &
126+
121127 cp ./phpunit.xml.dist ./phpunit.xml
122128 sed -e " s?127.0.0.1?${MAGENTO_HOST_NAME} ?g" --in-place ./phpunit.xml
123129 sed -e " s?basic?travis_acceptance_${ACCEPTANCE_INDEX} ?g" --in-place ./phpunit.xml
0 commit comments