Skip to content
Snippets Groups Projects
Commit d1078ea3 authored by Thibault Debatty's avatar Thibault Debatty
Browse files

update gitlab-ci : remove auto-deploy and mongodb service

parent 5c2b97c1
No related branches found
No related tags found
No related merge requests found
......@@ -9,13 +9,10 @@ cache:
paths:
- composer-cache/
# Test with PHP7.2
test:php72:
stage: test
image: cylab/php72
services:
- mongo
before_script:
# Install all project dependencies
- COMPOSER_CACHE_DIR=./composer-cache composer install
......@@ -46,14 +43,3 @@ test:gitleaks:
- git config --global --add safe.directory $CI_PROJECT_DIR
- gitleaks detect -v -c 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