Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Camo Image Proxy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WP Plugins
Camo Image Proxy
Commits
581e4544
Commit
581e4544
authored
6 years ago
by
Erick Hitter
Browse files
Options
Downloads
Patches
Plain Diff
Switch to my images, with build steps satisfied
https://git.ethitter.com/docker/images/container_registry
parent
dc4760e4
Branches
Branches containing commit
No related tags found
1 merge request
!3
Switch to my own images, with dependencies satisfied
Pipeline
#134
failed
6 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+5
-29
5 additions, 29 deletions
.gitlab-ci.yml
with
5 additions
and
29 deletions
.gitlab-ci.yml
+
5
−
29
View file @
581e4544
...
...
@@ -8,30 +8,6 @@ cache:
-
$HOME/.composer
before_script
:
# Install dependencies
# update the docker
-
apt-get clean
-
apt-get -yqq update
# install the required packages for the running CI tests
-
|
apt-get -yqqf install lsb-release zip unzip subversion mysql-client libicu-dev libpng-dev libbz2-dev --fix-missing
if [[ $(lsb_release -a) =~ "stretch" ]]; then
apt-get -yqqf install default-libmysqlclient-dev --fix-missing
else
apt-get -yqqf install libmysqlclient-dev --fix-missing
fi
# PHP extensions
-
docker-php-ext-install mbstring mysqli intl gd zip bz2
# 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
...
...
@@ -48,7 +24,7 @@ before_script:
-
phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs,$HOME/.composer/vendor/automattic/vipwpcs
PHPunit:PHP5.3:MySQL
:
image
:
tetraweb
/php:5.3
image
:
containers.ethitter.com:443/docker/images
/php:5.3
services
:
-
mysql:5.6
script
:
...
...
@@ -58,7 +34,7 @@ PHPunit:PHP5.3:MySQL:
allow_failure
:
true
PHPunit:PHP5.6:MySQL
:
image
:
php:5.6-stretch
image
:
containers.ethitter.com:443/docker/images/php:5.6
services
:
-
mysql:5.6
script
:
...
...
@@ -66,7 +42,7 @@ PHPunit:PHP5.6:MySQL:
-
phpunit
PHPunit:PHP7.0:MySQL
:
image
:
php:7.0-stretch
image
:
containers.ethitter.com:443/docker/images/php:7.0
services
:
-
mysql:5.6
script
:
...
...
@@ -74,7 +50,7 @@ PHPunit:PHP7.0:MySQL:
-
phpunit
PHPunit:PHP7.1:MySQL
:
image
:
php:7.1-stretch
image
:
containers.ethitter.com:443/docker/images/php:7.1
services
:
-
mysql:5.6
script
:
...
...
@@ -82,7 +58,7 @@ PHPunit:PHP7.1:MySQL:
-
phpunit
PHPunit:PHP7.2:MySQL
:
image
:
php:7.2-stretch
image
:
containers.ethitter.com:443/docker/images/php:7.2
services
:
-
mysql:5.6
script
:
...
...
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