destructr/.gitlab-ci.yml

23 lines
445 B
YAML
Raw Normal View History

2018-08-22 02:27:05 +00:00
image: php:7.1-alpine
2018-08-17 18:29:03 +00:00
before_script:
2018-08-22 01:48:40 +00:00
- apk update
2018-08-22 01:58:24 +00:00
- apk add git
2018-08-22 02:06:32 +00:00
- docker-php-ext-install pdo
2018-08-22 01:48:40 +00:00
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install
2018-08-17 18:29:03 +00:00
2018-08-22 02:06:32 +00:00
test:local:
2018-08-17 18:29:03 +00:00
script:
2018-08-22 02:06:32 +00:00
- 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