Version 5.1 - All the GraphQL #32
@ -13,7 +13,7 @@ test:7:
|
|||||||
- bash build/docker_install.sh > /dev/null
|
- bash build/docker_install.sh > /dev/null
|
||||||
- curl -sS https://getcomposer.org/installer | php
|
- curl -sS https://getcomposer.org/installer | php
|
||||||
- php composer.phar install --no-dev
|
- php composer.phar install --no-dev
|
||||||
image: php:7
|
image: php:7-alpine
|
||||||
script:
|
script:
|
||||||
- phpunit -c build --coverage-text --colors=never
|
- phpunit -c build --coverage-text --colors=never
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ test:7.1:
|
|||||||
- bash build/docker_install.sh > /dev/null
|
- bash build/docker_install.sh > /dev/null
|
||||||
- curl -sS https://getcomposer.org/installer | php
|
- curl -sS https://getcomposer.org/installer | php
|
||||||
- php composer.phar install --no-dev
|
- php composer.phar install --no-dev
|
||||||
image: php:7.1
|
image: php:7.1-alpine
|
||||||
script:
|
script:
|
||||||
- phpunit -c build --coverage-text --colors=never
|
- phpunit -c build --coverage-text --colors=never
|
||||||
|
|
||||||
|
@ -9,14 +9,13 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
# Install git (the php image doesn't have it) which is required by composer
|
# Install git (the php image doesn't have it) which is required by composer
|
||||||
apt-get update -yqq
|
apk upgrade --update && apk add \
|
||||||
apt-get install \
|
curl \
|
||||||
git \
|
git \
|
||||||
libxslt1-dev \
|
libxslt1-dev \
|
||||||
libxslt1.1 \
|
libxslt1.1 \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
unzip \
|
unzip
|
||||||
-yqq
|
|
||||||
|
|
||||||
# Install phpunit, the tool that we will use for testing
|
# Install phpunit, the tool that we will use for testing
|
||||||
curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
|
curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
|
||||||
|
Loading…
Reference in New Issue
Block a user