@@ -75,22 +75,26 @@ case $TEST_SUITE in
75
75
cat " $changed_files_ce " | sed ' s/^/ + including /'
76
76
77
77
cd ../../..
78
-
79
- cp package.json.sample package.json
80
- cp Gruntfile.js.sample Gruntfile.js
81
- yarn
82
78
;;
83
79
js)
84
80
cp package.json.sample package.json
85
81
cp Gruntfile.js.sample Gruntfile.js
86
82
yarn
87
83
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=
" [email protected] " --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=
" [email protected] " \
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
94
98
;;
95
99
functional)
96
100
echo " Installing Magento"
@@ -117,7 +121,9 @@ case $TEST_SUITE in
117
121
118
122
composer install && composer require se/selenium-server-standalone:2.53.1
119
123
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
+
121
127
cp ./phpunit.xml.dist ./phpunit.xml
122
128
sed -e " s?127.0.0.1?${MAGENTO_HOST_NAME} ?g" --in-place ./phpunit.xml
123
129
sed -e " s?basic?travis_acceptance_${ACCEPTANCE_INDEX} ?g" --in-place ./phpunit.xml
0 commit comments