Skip to content
Snippets Groups Projects
Commit d87cd173 authored by Grzegorz Rola's avatar Grzegorz Rola
Browse files

cache for wp-cli

parent 8633e3e6
No related branches found
No related tags found
No related merge requests found
...@@ -389,6 +389,7 @@ library: ...@@ -389,6 +389,7 @@ library:
paths: paths:
- vendor/ - vendor/
variables: variables:
WP_CLI_CACHE_DIR: /cache/wp-cli
APACHE_DOCUMENT_ROOT: ${CI_PROJECT_DIR}/tests/wordpress APACHE_DOCUMENT_ROOT: ${CI_PROJECT_DIR}/tests/wordpress
CI_DEBUG_SERVICES: trace CI_DEBUG_SERVICES: trace
SCREEN_WIDTH: 1200 SCREEN_WIDTH: 1200
...@@ -416,6 +417,7 @@ library: ...@@ -416,6 +417,7 @@ library:
- $DISABLE_CODECEPTION - $DISABLE_CODECEPTION
allow_failure: false allow_failure: false
before_script: before_script:
- mkdir -p /cache/wp-cli
- export MYSQL_IP=$(awk '/^[[:space:]]*($|#)/{next} /mysqltests/{print $1; exit}' /etc/hosts) - export MYSQL_IP=$(awk '/^[[:space:]]*($|#)/{next} /mysqltests/{print $1; exit}' /etc/hosts)
- export WOOTESTS_IP=$(awk '/^[[:space:]]*($|#)/{next} /wootests/{print $1; exit}' /etc/hosts) - export WOOTESTS_IP=$(awk '/^[[:space:]]*($|#)/{next} /wootests/{print $1; exit}' /etc/hosts)
- cd ${CI_PROJECT_DIR} - cd ${CI_PROJECT_DIR}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment