TASK: Migrate to smaller alpine images
* To have faster downloads, smaller images, simpler installs
This commit is contained in:
parent
c511f1a70b
commit
ba20024783
1 changed files with 3 additions and 9 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue