Version 1
[yaffs-website] / web / modules / contrib / entity_embed / .travis-before-script.sh
diff --git a/web/modules/contrib/entity_embed/.travis-before-script.sh b/web/modules/contrib/entity_embed/.travis-before-script.sh
new file mode 100755 (executable)
index 0000000..8c29b41
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+set -e $DRUPAL_TI_DEBUG
+
+# Ensure the right Drupal version is installed.
+# Note: This function is re-entrant.
+drupal_ti_ensure_drupal
+
+# Download dependencies
+mkdir -p "$DRUPAL_TI_DRUPAL_DIR/$DRUPAL_TI_MODULES_PATH"
+cd "$DRUPAL_TI_DRUPAL_DIR/$DRUPAL_TI_MODULES_PATH"
+git clone --depth 1 --branch 8.x-1.x https://github.com/drupal-media/embed.git