From 09e00a7cabbbdedeec745de2c0cfebce27f19e83 Mon Sep 17 00:00:00 2001 From: Grzegorz Rola <grola@seostudio.pl> Date: Sun, 12 Jan 2020 23:14:42 +0100 Subject: [PATCH] Codeception params --- gitlab-ci-1.2.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gitlab-ci-1.2.yml b/gitlab-ci-1.2.yml index 798a0ec..afd1e3c 100644 --- a/gitlab-ci-1.2.yml +++ b/gitlab-ci-1.2.yml @@ -438,13 +438,13 @@ library: - wp core download ${WORDPRESS_CLI_PARAMETERS} --allow-root - wp config create --dbhost=${MYSQL_IP} --dbname=wptest --dbuser=mysql --dbpass=mysql --allow-root - wp config set WP_DEBUG true --raw --type=constant --allow-root - - rm ${APACHE_DOCUMENT_ROOT}/wp-content/debug.log - - chmod o+w ${APACHE_DOCUMENT_ROOT}/wp-content - - chmod g+w ${APACHE_DOCUMENT_ROOT}/wp-content - cp -r /tmp/project/. ${APACHE_DOCUMENT_ROOT}/wp-content/plugins/${CI_PROJECT_NAME} - chmod a+x ${CI_PROJECT_DIR}/tests/codeception/bootstrap.sh - cd ${CI_PROJECT_DIR} - . ./tests/codeception/bootstrap.sh + - rm ${APACHE_DOCUMENT_ROOT}/wp-content/debug.log + - chmod o+w ${APACHE_DOCUMENT_ROOT}/wp-content + - chmod g+w ${APACHE_DOCUMENT_ROOT}/wp-content - mkdir -p ${CI_PROJECT_DIR}/tests/codeception/tests/_output - mkdir -p ${CI_PROJECT_DIR}/tests/codeception/tests/acceptance - mkdir -p ${CI_PROJECT_DIR}/tests/codeception/tests/functional -- GitLab