Run tests on Gitlab CI
This commit is contained in:
parent
3c15c10740
commit
9559936ad8
15
.gitlab-ci.yml
Normal file
15
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
image: php:7.2-cli
|
||||||
|
before_script:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install --no-install-recommends -y unzip
|
||||||
|
- '[[ ! -f composer.phar ]] && curl -sS https://getcomposer.org/installer | php --'
|
||||||
|
- php composer.phar install
|
||||||
|
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- vendor/
|
||||||
|
- composer.phar
|
||||||
|
|
||||||
|
test:
|
||||||
|
script:
|
||||||
|
- composer test
|
Reference in a new issue