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