TASK: Migrate to smaller alpine images

* To have faster downloads, smaller images, simpler installs
This commit is contained in:
Daniel Siepmann 2017-04-08 23:32:11 +02:00
parent c511f1a70b
commit ba20024783
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -1,11 +1,5 @@
before_script:
- >
apt-get update
&& apt-get install -y
make
wget
--no-install-recommends
&& rm -r /var/lib/apt/lists/*
- apk add --no-cache make wget git
- make install-composer
- make install
@ -13,13 +7,13 @@ stages:
- test
test:5.6:
image: php:5.6
image: php:5.6-alpine
stage: test
script:
- ./vendor/bin/phpunit
test:7.0:
image: php:7.0
image: php:7.0-alpine
stage: test
script:
- ./vendor/bin/phpunit