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:
|
||||
- >
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue