Commit 581e4544 authored by Erick Hitter's avatar Erick Hitter

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
...@@ -8,30 +8,6 @@ cache: ...@@ -8,30 +8,6 @@ cache:
- $HOME/.composer - $HOME/.composer
before_script: 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 # Set up WordPress tests
- bash bin/install-wp-tests.sh $MYSQL_DATABASE root $MYSQL_ROOT_PASSWORD mysql latest true - bash bin/install-wp-tests.sh $MYSQL_DATABASE root $MYSQL_ROOT_PASSWORD mysql latest true
...@@ -48,7 +24,7 @@ before_script: ...@@ -48,7 +24,7 @@ before_script:
- phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs,$HOME/.composer/vendor/automattic/vipwpcs - phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs,$HOME/.composer/vendor/automattic/vipwpcs
PHPunit:PHP5.3:MySQL: PHPunit:PHP5.3:MySQL:
image: tetraweb/php:5.3 image: containers.ethitter.com:443/docker/images/php:5.3
services: services:
- mysql:5.6 - mysql:5.6
script: script:
...@@ -58,7 +34,7 @@ PHPunit:PHP5.3:MySQL: ...@@ -58,7 +34,7 @@ PHPunit:PHP5.3:MySQL:
allow_failure: true allow_failure: true
PHPunit:PHP5.6:MySQL: PHPunit:PHP5.6:MySQL:
image: php:5.6-stretch image: containers.ethitter.com:443/docker/images/php:5.6
services: services:
- mysql:5.6 - mysql:5.6
script: script:
...@@ -66,7 +42,7 @@ PHPunit:PHP5.6:MySQL: ...@@ -66,7 +42,7 @@ PHPunit:PHP5.6:MySQL:
- phpunit - phpunit
PHPunit:PHP7.0:MySQL: PHPunit:PHP7.0:MySQL:
image: php:7.0-stretch image: containers.ethitter.com:443/docker/images/php:7.0
services: services:
- mysql:5.6 - mysql:5.6
script: script:
...@@ -74,7 +50,7 @@ PHPunit:PHP7.0:MySQL: ...@@ -74,7 +50,7 @@ PHPunit:PHP7.0:MySQL:
- phpunit - phpunit
PHPunit:PHP7.1:MySQL: PHPunit:PHP7.1:MySQL:
image: php:7.1-stretch image: containers.ethitter.com:443/docker/images/php:7.1
services: services:
- mysql:5.6 - mysql:5.6
script: script:
...@@ -82,7 +58,7 @@ PHPunit:PHP7.1:MySQL: ...@@ -82,7 +58,7 @@ PHPunit:PHP7.1:MySQL:
- phpunit - phpunit
PHPunit:PHP7.2:MySQL: PHPunit:PHP7.2:MySQL:
image: php:7.2-stretch image: containers.ethitter.com:443/docker/images/php:7.2
services: services:
- mysql:5.6 - mysql:5.6
script: script:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment