destructr/.gitlab-ci.yml
2018-08-21 20:09:26 -06:00

22 lines
445 B
YAML

image: php:7.0-alpine
before_script:
- apk update
- apk add git
- docker-php-ext-install pdo
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install
test:local:
script:
- php composer.phar test-local
test:db:
script:
- docker-php-ext-install pdo_mysql
- php composer.phar test-db
test:legacydb:
script:
- docker-php-ext-install pdo_sqlite
- php composer.phar test-legacydb