Further modules included.
[yaffs-website] / web / modules / contrib / media / drupal_ti / before / before_script.sh
1 #!/bin/bash
2
3 # Add an optional statement to see that this is running in Travis CI.
4 echo "running drupal_ti/before/before_script.sh"
5
6 set -e $DRUPAL_TI_DEBUG
7
8 # Ensure the right Drupal version is installed.
9 # The first time this is run, it will install Drupal.
10 # Note: This function is re-entrant.
11 drupal_ti_ensure_drupal
12
13 # Change to the Drupal directory
14 cd "$DRUPAL_TI_DRUPAL_DIR"
15
16 # Create the the module directory (only necessary for D7)
17 # For D7, this is sites/default/modules
18 # For D8, this is modules
19 mkdir -p "$DRUPAL_TI_DRUPAL_DIR/$DRUPAL_TI_LIBRARIES_PATH"
20 cd "$DRUPAL_TI_DRUPAL_DIR"
21
22 # Manually clone the dependencies
23 mkdir libraries
24 cd libraries
25 git clone --depth 1 https://github.com/enyo/dropzone.git
26