diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2d4fd187f0cf16d6c709f3bab4bcd8cd95574b76..9fd24b9b792488584243634bf5608374f53b3544 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,16 +15,17 @@ variables:
   POSTGRES_HOST_AUTH_METHOD: trust
 
 default-postgres:
- services:
-   - postgres
- image: postgres
- variables:
-   PGPORT: "5432"
+  stage: dependencies
+  services:
+    - postgres
+  image: postgres
+  variables:
+    PGPORT: "5432"
 
- script:
-   # official way to provide password to psql: http://www.postgresql.org/docs/9.3/static/libpq-envars.html
-   - export PGPASSWORD=$POSTGRES_PASSWORD
-   - psql -h "postgres" -U "$POSTGRES_USER" -d "$POSTGRES_DB" -c "SELECT 'OK' AS status;"
+  script:
+    # official way to provide password to psql: http://www.postgresql.org/docs/9.3/static/libpq-envars.html
+    - export PGPASSWORD=$POSTGRES_PASSWORD
+    - psql -h "postgres" -U "$POSTGRES_USER" -d "$POSTGRES_DB" -c "SELECT 'OK' AS status;"
 
 # FRONTEND: Installation des dépendances
 install-frontend: