Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
C
camo-image-proxy
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
WP Plugins
camo-image-proxy
Commits
251ae1c1
Commit
251ae1c1
authored
Aug 07, 2018
by
Erick Hitter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix composer
parent
5bb0c9b4
Pipeline
#113
passed with stage
in 5 minutes and 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
.gitlab-ci.yml
.gitlab-ci.yml
+5
-3
No files found.
.gitlab-ci.yml
View file @
251ae1c1
...
...
@@ -26,6 +26,8 @@ before_script:
# Install Composer
-
curl -sS https://getcomposer.org/installer | php
-
mv composer.phar /usr/local/bin/composer
-
export PATH="$HOME/.composer/vendor/bin:$PATH"
# Set up WordPress tests
-
bash bin/install-wp-tests.sh $MYSQL_DATABASE root $MYSQL_ROOT_PASSWORD mysql latest
true
...
...
@@ -33,13 +35,13 @@ before_script:
# PHPUnit
-
|
if [[ $(php -v) =~ "PHP 7." ]]; then
php composer.pha
r global require "phpunit/phpunit=6.1.*"
compose
r global require "phpunit/phpunit=6.1.*"
else
php composer.pha
r global require "phpunit/phpunit=4.8.*"
compose
r global require "phpunit/phpunit=4.8.*"
fi
# Install PHPCS and WPCS
-
php composer.pha
r global require automattic/vipwpcs
-
compose
r global require automattic/vipwpcs
-
phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs,$HOME/.composer/vendor/automattic/vipwpcs
PHPunit:PHP5.3:MySQL:
...
...
Write
Preview
Markdown
is supported
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