Commit a2b86f68 authored by Tibo's avatar Tibo

clean .gitlab-ci.yml

parent ad11725a
Pipeline #2539 passed with stage
in 1 minute and 12 seconds
services:
- mongo
## Cache composer packages between all jobs and all branches
## of this project...
cache:
......@@ -8,7 +5,12 @@ cache:
paths:
- composer-cache/
.phptest:
# Test with PHP7.2
test:php72:
image: cylab/php72
services:
- mongo
before_script:
# Install all project dependencies
- COMPOSER_CACHE_DIR=./composer-cache composer install
......@@ -16,12 +18,6 @@ cache:
- cp env.test .env
- touch storage/app/db.sqlite
- php artisan migrate
# Test with PHP7.2
test:php72:
extends: .phptest
image: cylab/php72
script:
- vendor/bin/phpunit --coverage-text
- vendor/bin/phpcs
......@@ -32,3 +28,5 @@ test:gitleaks:
entrypoint: [""]
script:
- gitleaks -v --repo-path=./ --config=gitleaks.toml
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment