Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WP Plugins
Cron-Control
Commits
d940cc9e
Commit
d940cc9e
authored
Jul 15, 2017
by
Erick Hitter
Browse files
GitLab: missed phpunit
🤦
parent
469e3afc
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d940cc9e
...
...
@@ -14,6 +14,9 @@ before_script:
-
docker-php-ext-install mbstring mcrypt pdo_pgsql curl json intl gd xml zip bz2 opcache
# Install Composer
-
curl -sS https://getcomposer.org/installer | php
# Install phpunit (https://docs.gitlab.com/ce/ci/examples/php.html)
-
curl --location --output /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
-
chmod +x /usr/local/bin/phpunit
# Prepare to run WP tests
-
bash bin/install-wp-tests.sh wordpress_test root '' $MYSQL_PORT_3306_TCP_ADDR $WP_VERSION
...
...
@@ -32,4 +35,4 @@ variables:
# If Xdebug was installed you can generate a coverage report and see code coverage metrics.
test
:
script
:
-
vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never
\ No newline at end of file
-
/usr/local/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment