|
|
@ -8,8 +8,16 @@ GMV=1.5.11
|
|
|
|
# Roundcube tests and instance configuration
|
|
|
|
# Roundcube tests and instance configuration
|
|
|
|
sudo cp $DIR/config-test.inc.php $DIR/../config/config-test.inc.php
|
|
|
|
sudo cp $DIR/config-test.inc.php $DIR/../config/config-test.inc.php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $?
|
|
|
|
|
|
|
|
cat $DIR/../config/config-test.inc.php
|
|
|
|
|
|
|
|
|
|
|
|
# In-Browser tests dependencies installation
|
|
|
|
# In-Browser tests dependencies installation
|
|
|
|
# and GreenMail server setup and start
|
|
|
|
# and GreenMail server setup and start
|
|
|
|
sudo apt-get -y install default-jre-headless \
|
|
|
|
if [ $? = 0 ]
|
|
|
|
&& sudo wget http://central.maven.org/maven2/com/icegreen/greenmail-standalone/$GMV/greenmail-standalone-$GMV.jar \
|
|
|
|
then
|
|
|
|
&& sudo java -Dgreenmail.setup.all -Dgreenmail.users=test:test -jar greenmail-standalone-$GMV.jar &
|
|
|
|
sudo apt-get -y install default-jre-headless
|
|
|
|
|
|
|
|
sudo wget http://central.maven.org/maven2/com/icegreen/greenmail-standalone/$GMV/greenmail-standalone-$GMV.jar
|
|
|
|
|
|
|
|
sudo java -Dgreenmail.setup.all -Dgreenmail.users=test:test -jar greenmail-standalone-$GMV.jar &
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $?
|
|
|
|