diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 70cdb1e2f3e09e34535d53732b2c91b77a903475..e497afccfb93dbc71abc22ad2a878e61531ab0d5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,6 +15,7 @@ build:
   stage: build
   script:
     - apt-get install -y --force-yes build-essential python-dev python-pip git nodejs nodejs-legacy npm
+    - pip install --upgrade pip
     - pip install --editable .
     - cd content && npm install && cd ..
     - pelican content