Ignore stupid xsl requirement

This commit is contained in:
Timothy Warren 2017-02-15 10:05:06 -05:00
parent 7941303987
commit 34d0aaa8e5
2 changed files with 7 additions and 9 deletions

View File

@ -14,7 +14,7 @@ test:7:
before_script:
- sh build/docker_install.sh > /dev/null
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install --no-dev
- php composer.phar install --no-dev --ignore-platform-reqs
image: php:7-alpine
script:
- phpunit -c build --coverage-text --colors=never
@ -24,7 +24,7 @@ test:7.1:
before_script:
- sh build/docker_install.sh > /dev/null
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install --no-dev
- php composer.phar install --no-dev --ignore-platform-reqs
image: php:7.1-alpine
script:
- phpunit -c build --coverage-text --colors=never

View File

@ -15,16 +15,14 @@ apk upgrade --update && apk add --no-cache \
libxslt-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 xdebug for coverage report
docker-php-source extract
pecl install xdebug
docker-php-ext-enable xdebug
docker-php-source delete
# 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
docker-php-ext-install xsl
docker-php-ext-install zip