diff --git a/.drone.yml b/.drone.yml index 8a1f3075..8c7fb4dc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,8 +1,11 @@ kind: pipeline type: docker -name: HeartWave +name: HeartTrack trigger: + branch: + - master + - merged event: - push @@ -16,6 +19,7 @@ steps: # Installe les dépendances PHP si nécessaire - composer install --no-interaction - ./vendor/bin/phpunit tests + depends_on: [ docker-build-and-push ] # Sonar static code analisis deployment # TODO : use an image that already have unzip @@ -48,6 +52,7 @@ steps: from_secret: SECRET_REGISTRY_USERNAME password: from_secret: SECRET_REGISTRY_PASSWORD + git_auth: true - name: notify image: ruby:2.1 @@ -58,4 +63,4 @@ steps: - refs/tags/*-demo commands: - sh ./notifymail.sh - depends_on: [ docker-build-and-push ] + depends_on: [ docker-build-and-push ] \ No newline at end of file