Text
Text
Text
image: quay.io/pantheon-public/build-tools-ci:6.x
pipelines:
branches:
master:
- step:
caches:
- composer
script:
- apt-get update && apt-get install -y unzip
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- composer install --no-ansi --no-interaction --optimize-autoloader --no-progress
- CI_BRANCH=$BITBUCKET_BRANCH CI_BUILD_NUMBER=$BITBUCKET_BUILD_NUMBER
- source ~/.bashrc && composer -n install
- terminus -n auth:login --machine-token="$TERMINUS_TOKEN"
- source ~/.bashrc && ./.ci/scripts/01-prepare
- source ~/.bashrc && composer -n build-assets
- source ~/.bashrc && composer -n install
- source ~/.bashrc && ./.ci/scripts/02-init-site-under-test-reinstall-new
- source ~/.bashrc && ./.ci/scripts/09-cleanup-fixtures