diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..940f9e0f --- /dev/null +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file