00-keep-travis-running.sh |
scripts/travis/00-keep-travis-running.sh |
|
#!/bin/bash
while true
do
echo "Still testing...."
sleep 300
done |
01-setup-environment.sh |
scripts/travis/01-setup-environment.sh |
|
#!/usr/bin/env bash
## Setup environment
# add composer's global bin directory to the path
# see: https://github.com/drush-ops/drush#install---composer
export THUNDER_DIST_DIR=`echo $(pwd -P)`
export TEST_DIR=`echo… |
02-before-install.sh |
scripts/travis/02-before-install.sh |
|
#!/usr/bin/env bash
# Disable xdebug.
echo "" > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
# Stop drush from sending email
echo "sendmail_path = /bin/true" >> ~/.phpenv/versions/$(phpenv… |
03-build-thunder-composer.sh |
scripts/travis/03-build-thunder-composer.sh |
|
#!/usr/bin/env bash
# Download latest Thunder release for update
if [[ ${TEST_UPDATE} == "true" ]]; then
# Download latest release from drupal.org
mkdir -p $UPDATE_BASE_PATH
cd $UPDATE_BASE_PATH
drush dl thunder… |
03-build-thunder-drush.sh |
scripts/travis/03-build-thunder-drush.sh |
|
#!/usr/bin/env bash
cd ${THUNDER_DIST_DIR}
# Build drupal + thunder from makefile
drush make --concurrency=5 drupal-org-core.make ${TEST_DIR}/docroot -y
mkdir ${TEST_DIR}/docroot/profiles/thunder
shopt -s extglob
rsync -a .… |
03-build-thunder2.sh |
scripts/travis/03-build-thunder2.sh |
|
#!/usr/bin/env bash
cd ${THUNDER_DIST_DIR}
composer create-project BurdaMagazinOrg/thunder-project:2.x ${TEST_DIR} --stability dev --no-interaction --no-install
cd ${TEST_DIR}
cp ${THUNDER_DIST_DIR}/tests/fixtures/thunder2.composer.lock… |
03-use-thunder-artifact.sh |
scripts/travis/03-use-thunder-artifact.sh |
|
#!/usr/bin/env bash
#
# Download stored project artifact on S3 and export it
# Download project artifact from S3
aws s3 cp "s3://thunder-builds/${PROJECT_ARTIFACT_FILE_NAME}" "${PROJECT_ARTIFACT_FILE}"
# Extract files to test… |
04-install-thunder.sh |
scripts/travis/04-install-thunder.sh |
|
#!/usr/bin/env bash
# Install thunder and enable Test module
# in provided folder
install_thunder() {
cd $1
/usr/bin/env PHP_OPTIONS="-d sendmail_path=`which true`" drush si thunder --db-url=mysql://travis@127.0.0.1/drupal -y… |
04-use-database-artifact.sh |
scripts/travis/04-use-database-artifact.sh |
|
#!/usr/bin/env bash
#
# Download stored database dump from S3 and import it
# Download project artifact from S3
aws s3 cp "s3://thunder-builds/${DB_ARTIFACT_FILE_NAME}" "${DB_ARTIFACT_FILE}"
# Unzip to deployment file. Deployment… |
05-setup-tests.sh |
scripts/travis/05-setup-tests.sh |
|
#!/usr/bin/env bash
# install image magick
wget -q https://github.com/mkoppanen/imagick/archive/$PHP_IMAGICK_VERSION.tar.gz -O php-imagick-LATEST.tar.gz
yes '' | pecl -q install -f php-imagick-LATEST.tar.gz
# Build and install the YAML… |
05-update-2-3.sh |
scripts/travis/05-update-2-3.sh |
|
#!/usr/bin/env bash
# Update paragraphs to version 1.10 first.
cd ${TEST_DIR}
composer require drupal/paragraphs:1.10 --no-update
composer update
cd ${TEST_DIR}/docroot
drush updb -y
# Remove paragraphs dependency.
cd ${TEST_DIR}
composer remove… |
06-run-config-tests.sh |
scripts/travis/06-run-config-tests.sh |
|
#!/usr/bin/env bash
source ${THUNDER_DIST_DIR}/scripts/travis/05-setup-tests.sh
# Run Drupal tests
cd ${TEST_DIR}/docroot
thunderDumpFile=thunder.php phpunit --verbose --debug --configuration core --group ThunderConfig… |
06-run-tests.sh |
scripts/travis/06-run-tests.sh |
|
#!/usr/bin/env bash
source ${THUNDER_DIST_DIR}/scripts/travis/05-setup-tests.sh
cd ${TEST_DIR}/docroot
# Silently pull docker image
docker pull selenium/standalone-chrome:3.14.0-iron > /dev/null
docker run -d -p 4444:4444 -v $(pwd)/$(drush eval… |
06-test-source-code.sh |
scripts/travis/06-test-source-code.sh |
|
#!/usr/bin/env bash
composer global require drupal/coder
phpcs --config-set installed_paths ~/.composer/vendor/drupal/coder/coder_sniffer
# run phpcs
# Ignore check of .md files, because they should be able to contain more then 80 characters per… |
07-upload-artifacts-to-s3.sh |
scripts/travis/07-upload-artifacts-to-s3.sh |
|
#!/usr/bin/env bash
#
# Package and upload built Thunder project and database
# Package database
gzip < "${DEPLOYMENT_DUMP_FILE}" > "${DB_ARTIFACT_FILE}"
# Include performance measurement module in artifact
cd… |
08-build-docker-performance-image.sh |
scripts/travis/08-build-docker-performance-image.sh |
|
#!/usr/bin/env bash
#
# Download stored project artifact on S3 and pack it into Thunder performance docker image
# Get Thunder performance Docker project for packaging
THUNDER_PERFORMANCE="${TEST_DIR}/../docker-thunder-performance"
git… |
AbstractOptionalModule.php |
src/Plugin/Thunder/OptionalModule/AbstractOptionalModule.php |
Drupal\thunder\Plugin\Thunder\OptionalModule |
|
AccessUnpublishedTest.php |
tests/src/FunctionalJavascript/Integration/AccessUnpublishedTest.php |
Drupal\Tests\thunder\FunctionalJavascript\Integration |
|
AdminToolbarTest.php |
tests/src/Functional/Integration/AdminToolbarTest.php |
Drupal\Tests\thunder\Functional\Integration |
|
Adsense.php |
src/Plugin/Thunder/OptionalModule/Adsense.php |
Drupal\thunder\Plugin\Thunder\OptionalModule |
|
amp-custom-styles.html.twig |
themes/thunder_amp/templates/amp-css/amp-custom-styles.html.twig |
|
/* ---------- Layout ----------- */
html {
height: 100%;
}
body {
min-height: 100%;
}
.amp-header__content,
.amp-main__content,
.amp-footer__content {
margin: 0 auto;
max-width: 620px;
}
.amp-main {
min-height:… |
amp-skip-link.html.twig |
themes/thunder_amp/templates/navigation/amp-skip-link.html.twig |
|
Theme override of a skip link. |
AMP.php |
src/Plugin/Thunder/OptionalModule/AMP.php |
Drupal\thunder\Plugin\Thunder\OptionalModule |
|
ArticleCreationTest.php |
tests/src/FunctionalJavascript/ArticleCreationTest.php |
Drupal\Tests\thunder\FunctionalJavascript |
|
ArticleSchedulerIntegration.php |
tests/src/FunctionalJavascript/ArticleSchedulerIntegration.php |
Drupal\Tests\thunder\FunctionalJavascript |
|
AutoAspectEffect.php |
modules/thunder_media/src/Plugin/ImageEffect/AutoAspectEffect.php |
Drupal\thunder_media\Plugin\ImageEffect |
|
AutosaveFormTest.php |
tests/src/FunctionalJavascript/Integration/AutosaveFormTest.php |
Drupal\Tests\thunder\FunctionalJavascript\Integration |
|
bartik_slick_fix.css |
modules/thunder_media/css/bartik_slick_fix.css |
|
.slick__slide .field.field--type-image {
margin: 0;
}
/* For slick galleries using blazy, with non-responsive image styles, this can help, if gallery takes too much vertical space.
Background: Not loaded images have a 1x1 placeholder. This means,… |
blazy.settings.yml |
config/install/blazy.settings.yml |
|
config/install/blazy.settings.yml |
block--system-branding-block.html.twig |
themes/thunder_amp/templates/block/block--system-branding-block.html.twig |
|
Theme implementation for a branding block. |
block.block.seven_breadcrumbs.yml |
config/optional/block.block.seven_breadcrumbs.yml |
|
config/optional/block.block.seven_breadcrumbs.yml |
block.block.seven_content.yml |
config/optional/block.block.seven_content.yml |
|
config/optional/block.block.seven_content.yml |
block.block.seven_help.yml |
config/optional/block.block.seven_help.yml |
|
config/optional/block.block.seven_help.yml |
block.block.seven_local_actions.yml |
config/optional/block.block.seven_local_actions.yml |
|
config/optional/block.block.seven_local_actions.yml |
block.block.seven_login.yml |
config/optional/block.block.seven_login.yml |
|
config/optional/block.block.seven_login.yml |
block.block.seven_messages.yml |
config/optional/block.block.seven_messages.yml |
|
config/optional/block.block.seven_messages.yml |
block.block.seven_page_title.yml |
config/optional/block.block.seven_page_title.yml |
|
config/optional/block.block.seven_page_title.yml |
block.block.seven_primary_local_tasks.yml |
config/optional/block.block.seven_primary_local_tasks.yml |
|
config/optional/block.block.seven_primary_local_tasks.yml |
block.block.seven_secondary_local_tasks.yml |
config/optional/block.block.seven_secondary_local_tasks.yml |
|
config/optional/block.block.seven_secondary_local_tasks.yml |
block.block.thunder_base_account_menu.yml |
config/install/block.block.thunder_base_account_menu.yml |
|
config/install/block.block.thunder_base_account_menu.yml |
block.block.thunder_base_branding.yml |
config/install/block.block.thunder_base_branding.yml |
|
config/install/block.block.thunder_base_branding.yml |
block.block.thunder_base_breadcrumbs.yml |
config/install/block.block.thunder_base_breadcrumbs.yml |
|
config/install/block.block.thunder_base_breadcrumbs.yml |
block.block.thunder_base_content.yml |
config/install/block.block.thunder_base_content.yml |
|
config/install/block.block.thunder_base_content.yml |
block.block.thunder_base_footer.yml |
config/install/block.block.thunder_base_footer.yml |
|
config/install/block.block.thunder_base_footer.yml |
block.block.thunder_base_local_actions.yml |
config/install/block.block.thunder_base_local_actions.yml |
|
config/install/block.block.thunder_base_local_actions.yml |
block.block.thunder_base_local_tasks.yml |
config/install/block.block.thunder_base_local_tasks.yml |
|
config/install/block.block.thunder_base_local_tasks.yml |
block.block.thunder_base_main_menu.yml |
config/install/block.block.thunder_base_main_menu.yml |
|
config/install/block.block.thunder_base_main_menu.yml |
block.block.thunder_base_messages.yml |
config/install/block.block.thunder_base_messages.yml |
|
config/install/block.block.thunder_base_messages.yml |
block.block.thunder_base_page_title.yml |
config/install/block.block.thunder_base_page_title.yml |
|
config/install/block.block.thunder_base_page_title.yml |
block.block.thunder_base_powered.yml |
config/install/block.block.thunder_base_powered.yml |
|
config/install/block.block.thunder_base_powered.yml |