Skip to content

Commit

Permalink
Replace images with alpine ver
Browse files Browse the repository at this point in the history
  • Loading branch information
mklkj committed Aug 6, 2018
1 parent 8a32b40 commit 59379f1
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,26 @@ cache:

before_script:
- if find . -name "*.php" ! -path "./vendor/*" -exec php -l {} 2>&1 \; | grep "syntax error, unexpected"; then exit 1; fi
- apt-get update -yqq
- apt-get install git -yqq
- apk add --update git
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install

test:php5.6:
image: php:5.6
image: php:5.6-alpine
script:
- ./vendor/bin/phpunit

test:php7:
image: php:7
image: php:7-alpine
script:
- ./vendor/bin/phpunit

test:php7.1:
image: php:7.1
image: php:7.1-alpine
script:
- ./vendor/bin/phpunit

test:php7.2:
image: php:7.2
image: php:7.2-alpine
script:
- ./vendor/bin/phpunit

0 comments on commit 59379f1

Please sign in to comment.