Commit ef900443 authored by Nikhil Dubbaka's avatar Nikhil Dubbaka

Update .gitlab-ci.yml

parent c2c31104
Pipeline #3836401 failed with stage
in 2 minutes and 27 seconds
......@@ -7,30 +7,20 @@ drulenium:
before_script:
# Install git, the php image doesn't have it installed
- apt-get update -yqq
- apt-get install git sendmail -yqq
- apt-get install git -yqq
- apt-get install wget default-jre -yqq
# Installing firefox browser
- apt-get install xvfb iceweasel unzip -yqq
- Xvfb :99 -ac &
- export DISPLAY=:99
# - firefox -v
# Firefox version 45.2.0 working with selenium-server-standalone-2.53.0
- apt-get install wget -yqq
# Installing selenium
- wget http://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.0.jar
- java -jar selenium-server-standalone-2.53.0.jar &
# Disable sendmail
- echo sendmail_path=`which true` >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
# Installing MySQL server
- export DEBIAN_FRONTEND=noninteractive
- apt-get install mysql-server -yqq
# Installing imagemagick & PHP GD extension
- apt-get install libfreetype6-dev libjpeg62-turbo-dev libpng12-dev imagemagick -yqq
- apt-get install libfreetype6-dev libjpeg62-turbo-dev libpng12-dev -yqq
- docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
- docker-php-ext-install gd
......@@ -49,15 +39,17 @@ drulenium:
- php composer.phar global require drush/drush:6.*
- export PATH="$HOME/.composer/vendor/bin:$PATH"
script:
- drush dl commerce_kickstart --drupal-project-rename=docroot
- cd docroot
- ls
- pwd
#- drush dl commerce_kickstart --drupal-project-rename=docroot
#- cd docroot
- service mysql start
# Increase the MySQL server timetout and packet size.
- mysql -e "SET GLOBAL wait_timeout = 36000;"
- mysql -e "SET GLOBAL max_allowed_packet = 33554432;"
- drush site-install commerce_kickstart commerce_kickstart_configure_store_form.install_demo_store=0 --db-url=$DB_URL --account-name=admin --account-pass=admin --site-mail=admin@example.com --site-name=Drulenium --yes -v -d
- drush site-install commerce_kickstart commerce_kickstart_configure_store_form.install_demo_store=0 --db-url=$DB_URL --site-name=Drulenium --yes -v
- drush dl drulenium-7.x-2.x-dev -y
- drush en libraries -y
- drush en drulenium drulenium_local_selenium drulenium_hosting_client -y
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment