Skip to content
Snippets Groups Projects
Commit 3ac9e6a1 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #2810289: Updated [Varbase 8.x-4.x] profile : Added the full...

Issue #2810289: Updated [Varbase 8.x-4.x] profile : Added the full VarbaseContext and had more working automated testing gherkin features
parent e19989f1
No related branches found
No related tags found
No related merge requests found
......@@ -10,11 +10,22 @@ php:
- 5.5
- 5.6
- 7.0
jdk: oraclejdk8
env:
- VERSION=8.x-4.x
sudo: false
addons:
firefox: latest
apt:
packages:
- xvfb
- x11-xkb-utils
- xfonts-100dpi
- xfonts-75dpi
- xfonts-scalable
mysql:
database: drupal
username: root
......@@ -27,6 +38,7 @@ before_install:
- composer remove drupal/core
- composer require drupal/drupal 8.2.0
install:
- export PATH="$HOME/.composer/vendor/bin:$TRAVIS_BUILD_DIR/bin:$PATH"
......@@ -47,7 +59,22 @@ install:
- echo 'sendmail_path = /bin/true' >> drupal.php.ini;
- phpenv config-add drupal.php.ini
- phpenv rehash
# Configure the display.
- export DISPLAY=:0
- sh -e /etc/init.d/xvfb start
- Xvfb :0 -ac -screen 0 1960x2000x24 &
- sleep 3 # give xvfb some time to start
# Print firefox version.
- firefox --version
# Run selenium standalone server.
- echo "Getting selenium server standalone 2.53.1\n"
- wget -O $HOME/selenium-server-standalone-2.53.1.jar http://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.1.jar
- java -jar $HOME/selenium-server-standalone-2.53.1.jar -port 4445 > /dev/null 2>&1 &
- echo "[ OK ] Starting Selenium on the 4445 port ..."
- composer global require phing/phing
- phing build -Dversion=$VERSION -Dbranch=$TRAVIS_COMMIT
......@@ -57,15 +84,15 @@ install:
before_script:
- cd docroot
- drush runserver --default-server=builtin 8080 &>/dev/null &
- phantomjs --webdriver=4444 > /dev/null &
- sleep 5
- php profiles/varbase/modules/contrib/composer_manager/scripts/init.php
# composer drupal-update -vvv
script:
- cd ./profiles/varbase
- behat --strict
- behat --strict tests/features/varbase/step1-init-tests/
- behat --strict tests/features/varbase/step2-apply-tests/
matrix:
fast_finish: true
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment