An exlusive Drupal 7 install profile.
Supports acceptance testing with Behat/Mink using Travis CI.
-
PHP 5.4 CLI http://php.net/
sudo apt-get install php5-cli
-
PEAR http://pear.php.net/
sudo apt-get install php-pear
-
Drush http://drush.ws/
pear channel-discover pear.drush.org pear install drush/drush
Build the codebase as defined in this profile.
drush make build.make build
Install the site using this profile
drush site-install dbc --db-url=mysql://USERNAME:PASSWORD@localhost/DB_NAME --root=${PWD}/build -y
Install tools for testing
cd build/profiles/dbc/tests/behat/
curl -s http://getcomposer.org/installer | php
php composer.phar install
Add new tests to build/profiles/dbc/tests/behat/features/ See Behat http://behat.org/ for more info.
# Run tests
cd build/profiles/dbc/tests/behat
drush runserver :9002 --server=builtin &
./bin/behat
Copyright (c) 2013 Stefan Auditor Licensed under the GNU General Public License, GPL v2.