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

Update .gitlab-ci.yml

parent a2b86f68
No related branches found
No related tags found
No related merge requests found
Pipeline #2540 failed
stages:
- test
- deploy
## Cache composer packages between all jobs and all branches
## of this project...
cache:
......@@ -8,6 +12,7 @@ cache:
# Test with PHP7.2
test:php72:
stage: test
image: cylab/php72
services:
- mongo
......@@ -23,10 +28,20 @@ test:php72:
- vendor/bin/phpcs
test:gitleaks:
stage: test
image:
name: "zricethezav/gitleaks"
entrypoint: [""]
script:
- gitleaks -v --repo-path=./ --config=gitleaks.toml
# deploy only when pushed to branch master
# and tests succeeded
deploy:
stage: deploy
image: alpine
only: master
script:
- apk add wget
- wget "http://deployer.web-d.be/projects/19/deploy/CnyUff07McfEi7hQtHND7JWALkzKCmf4b4ddREUE"
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