Add .gitlab-ci.yml

This commit is contained in:
Too
2018-06-21 16:14:55 +08:00
parent 453852c7ea
commit 0cf6cb2051
+17
View File
@@ -0,0 +1,17 @@
before_script:
- bash .gitlab-ci.sh
stages:
- testing
- staging
variables:
MYSQL_DATABASE: default
MYSQL_USER: default
MYSQL_PASSWORD: secret
MYSQL_ROOT_PASSWORD: root
unitTesting:
stage: testing
image: php:7.0.13
services:
- mysql:5.7
script:
- vendor/bin/phpunit --coverage-text --colors=never --configuration phpunit.xml