Pathologic was missing because of a .git folder inside.
[yaffs-website] / web / modules / contrib / fontyourface / .travis-before-script.sh
1 #!/bin/bash
2
3 set -e $DRUPAL_TI_DEBUG
4
5 # Ensure the right Drupal version is installed.
6 # Note: This function is re-entrant.
7 drupal_ti_ensure_drupal
8
9 # @todo Patch drupal_ti to not link, but add self as VCS and require.
10 if [ -L "$DRUPAL_TI_MODULES_PATH/$DRUPAL_TI_MODULE_NAME" ]
11 then
12   unlink "$DRUPAL_TI_MODULES_PATH/$DRUPAL_TI_MODULE_NAME"
13 fi
14
15 # drupal_ti adds the repos in the wrong order, the module one must be first.
16 composer config --unset repo.drupal
17 composer config repositories.fontyourface path $TRAVIS_BUILD_DIR
18 composer config repositories.drupal composer https://packages.drupal.org/8
19 composer config repositories
20
21 # Add Commerce. '*@dev' is used because the path repo can't detect any versions
22 # in PR branches.
23 cd "$DRUPAL_TI_DRUPAL_DIR"
24 composer require drupal/fontyourface *@dev
25 composer update -n --lock --verbose
26
27 # Enable main module and submodules.
28 drush en -y fontyourface adobe_edge_fonts fontscom_api fontsquirrel_api google_fonts_api local_fonts typekit_api
29
30 # Turn on PhantomJS for functional Javascript tests
31 phantomjs --ssl-protocol=any --ignore-ssl-errors=true $DRUPAL_TI_DRUPAL_DIR/vendor/jcalderonzumba/gastonjs/src/Client/main.js 8510 1024 768 2>&1 >> /dev/null &