Attempt to fix builds 3

This commit is contained in:
Timothy Warren 2017-10-19 18:38:56 -04:00
parent c6f2981d63
commit a2fbe471e3
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ test:7:
- apk add --no-cache php7-phpdbg
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install --ignore-platform-reqs
image: php:7.0-cli-alpine
image: php:7.0-cli-alpine3.4
script:
- phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never
@ -16,6 +16,6 @@ test:7.1:
- apk add --no-cache php7-phpdbg
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install --ignore-platform-reqs
image: php:7.1-cli-alpine
image: php:7.1-cli-alpine3.4
script:
- phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never

View File

@ -6,7 +6,7 @@
set -xe
# Install git (the php image doesn't have it) which is required by composer
#echo -e 'http://dl-cdn.alpinelinux.org/alpine/edge/main\nhttp://dl-cdn.alpinelinux.org/alpine/edge/community\nhttp://dl-cdn.alpinelinux.org/alpine/edge/testing' > /etc/apk/repositories
echo -e 'http://dl-cdn.alpinelinux.org/alpine/edge/main\nhttp://dl-cdn.alpinelinux.org/alpine/edge/community\nhttp://dl-cdn.alpinelinux.org/alpine/edge/testing' > /etc/apk/repositories
apk upgrade --update && apk add --no-cache \
curl \
git