Commit b7224fdc authored by Christian Keuerleber's avatar Christian Keuerleber
Browse files

TASK: .gitlab-ci.yml

parent d29c7ade
Pipeline #7779 failed with stage
stages:
- monitoring
production:
stage: monitoring
image: php:7.2-alpine
tags:
- docker
before_script:
- mkdir -p "$APK_CACHE_DIR" "$COMPOSER_CACHE_DIR"
- apk --cache-dir="$APK_CACHE_DIR" add openssh-client git composer rsync chromium chromium-chromedriver libzip-dev
- docker-php-ext-configure zip --with-libzip=/usr/include && docker-php-ext-install zip
- composer install
script:
- chromedriver --url-base=/wd/hub --port=4444 & ./vendor/bin/codecept --steps run monitoring && killall chromedriver
variables:
APK_CACHE_DIR: "${CI_PROJECT_DIR}/.cache/apk"
COMPOSER_CACHE_DIR: "${CI_PROJECT_DIR}/.cache/composer"
cache:
paths:
- .cache
artifacts:
paths:
- Tests/_output/
when: always
expire_in: 1 week
only:
- master
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment