diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4d758b9ca905c40a6ef4fc6d38457458c0f2ce02..7992b69d9f2aa59ab63554506966b1a5f2ee355f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -66,6 +66,9 @@ stages:
 #   - TWINE_PASSWORD:                - Password to use when uploading to pypi
 #
 #   - TWINE_REPOSITORY_URL:          - Pypi repository to upload to
+#
+#   - WXPYTHON_DEBIAN8_URL:          - Url to a location containg binary wheels
+#                                      for wxPython/debian 8
 ###############################################################################
 
 
@@ -235,7 +238,7 @@ variables:
 
     # Linux builds for wxPython are currently not
     # on pypi, but are available at this url.
-    - pip install --only-binary wxpython -f https://wxpython.org/Phoenix/snapshot-builds/linux/gtk3/debian-8/ wxpython
+    - pip install --only-binary wxpython -f $WXPYTHON_DEBIAN8_URL wxpython
 
     # All other deps can be installed as
     # normal. scipy is required by nibabel,