Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-ci
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
gitlab-ci
Commits
ed9c245c
Commit
ed9c245c
authored
5 years ago
by
Grzegorz Rola
Browse files
Options
Downloads
Patches
Plain Diff
Codeception params
parent
a5721be4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
gitlab-ci-1.2.yml
+3
-5
3 additions, 5 deletions
gitlab-ci-1.2.yml
with
3 additions
and
5 deletions
gitlab-ci-1.2.yml
+
3
−
5
View file @
ed9c245c
...
...
@@ -438,15 +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
-
touch
${APACHE_DOCUMENT_ROOT}/wp-content/debug.log
-
chmod o+w ${APACHE_DOCUMENT_ROOT}/wp-content
/debug.log
-
chmod g+w ${APACHE_DOCUMENT_ROOT}/wp-content
/debug.log
-
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
-
wp config set WP_DEBUG_DISPLAY
false
--raw --type=constant --allow-root --path=$APACHE_DOCUMENT_ROOT
-
wp config set WP_DEBUG_LOG $APACHE_DOCUMENT_ROOT/wp-content/uploads/debug.log --raw --type=constant --allow-root --path=$APACHE_DOCUMENT_ROOT
-
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment