Skip to content
Snippets Groups Projects
Commit a2b86f68 authored by Tibo's avatar Tibo
Browse files

clean .gitlab-ci.yml

parent ad11725a
No related branches found
No related tags found
No related merge requests found
Pipeline #2539 passed
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment