Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
WP Plugins
camo-image-proxy
Commits
581e4544
Commit
581e4544
authored
Aug 18, 2018
by
Erick Hitter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch to my images, with build steps satisfied
https://git.ethitter.com/docker/images/container_registry
parent
dc4760e4
Pipeline
#134
failed with stage
in 19 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
29 deletions
+5
-29
.gitlab-ci.yml
.gitlab-ci.yml
+5
-29
No files found.
.gitlab-ci.yml
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
:
...
...
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