Version 5.1 - All the GraphQL #32
@ -1,10 +1,3 @@
|
|||||||
# Composer stores all downloaded packages in the vendor/ directory.
|
|
||||||
# Do not use the following if the vendor/ directory is commited to
|
|
||||||
# your git repository.
|
|
||||||
|
|
||||||
services:
|
|
||||||
- redis:latest
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
|
|
||||||
@ -17,7 +10,7 @@ test:7:
|
|||||||
- php composer.phar install --no-dev --ignore-platform-reqs
|
- php composer.phar install --no-dev --ignore-platform-reqs
|
||||||
image: php:7-alpine
|
image: php:7-alpine
|
||||||
script:
|
script:
|
||||||
- phpunit -c build --coverage-text --colors=never
|
- ./vendor/bin/phpunit -c build --coverage-text --colors=never
|
||||||
|
|
||||||
test:7.1:
|
test:7.1:
|
||||||
stage: test
|
stage: test
|
||||||
@ -27,7 +20,7 @@ test:7.1:
|
|||||||
- php composer.phar install --no-dev --ignore-platform-reqs
|
- php composer.phar install --no-dev --ignore-platform-reqs
|
||||||
image: php:7.1-alpine
|
image: php:7.1-alpine
|
||||||
script:
|
script:
|
||||||
- phpunit -c build --coverage-text --colors=never
|
- ./vendor/bin/phpunit -c build --coverage-text --colors=never
|
||||||
|
|
||||||
#test:hhvm:
|
#test:hhvm:
|
||||||
# stage: test
|
# stage: test
|
||||||
|
@ -12,17 +12,12 @@ apk upgrade --update && apk add --no-cache \
|
|||||||
autoconf \
|
autoconf \
|
||||||
curl \
|
curl \
|
||||||
git \
|
git \
|
||||||
libxslt-dev \
|
|
||||||
zlib-dev
|
zlib-dev
|
||||||
|
|
||||||
# Install phpunit, the tool that we will use for testing
|
|
||||||
#curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
|
|
||||||
#chmod +x /usr/local/bin/phpunit
|
|
||||||
|
|
||||||
# Install extensions
|
# Install extensions
|
||||||
# Install xdebug for coverage report
|
# Install xdebug for coverage report
|
||||||
docker-php-source extract
|
docker-php-source extract
|
||||||
pecl install xdebug
|
pecl install xdebug
|
||||||
docker-php-ext-enable xdebug
|
docker-php-ext-enable xdebug
|
||||||
docker-php-source delete
|
docker-php-source delete
|
||||||
docker-php-ext-install zip
|
# docker-php-ext-install zip
|
Loading…
Reference in New Issue
Block a user