Commit 4091357f authored by Lars Olesen's avatar Lars Olesen

Added test to see whether make files will build on d.o.

parent 7d452f10
......@@ -37,6 +37,8 @@ install:
# Install latest Drush 6.
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- composer global require --no-interaction --prefer-source drush/drush:6.*
- drush dl -y drupalorg_drush-7.x-1.x-dev --destination=$HOME/.drush
- drush cc drush
# Build Behat dependencies
- cd ./tests/behat
......@@ -50,12 +52,16 @@ install:
- mkdir drupal
- mv profiles drupal/
# Test the current branch
# Build the current branch
- cd drupal
- drush make --yes profiles/commerce_kickstart/drupal-org-core.make --prepare-install
- drush make --yes profiles/commerce_kickstart/drupal-org.make --no-core --contrib-destination=profiles/commerce_kickstart
- cd ../
# Verify that all the .make files will work on Drupal.org.
- drush verify-makefile drupal/profiles/commerce_kickstart/drupal-org.make
- find drupal/profiles/commerce_kickstart/modules -name \*.make -print0 | xargs -0 -n1 drush verify-makefile
# Download an old version to test upgrading from.
- if [[ "$UPGRADE" != none ]]; then drush dl commerce_kickstart-$UPGRADE; fi
......
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