diff --git a/gitlab/functions.sh b/gitlab/functions.sh
index 9f3c3775650409cbdc9548ece0bf6dc83b49e1c1..71b080baa9ff34c6e571844ab881393fa57e670b 100644
--- a/gitlab/functions.sh
+++ b/gitlab/functions.sh
@@ -106,7 +106,6 @@ doc_upload() {
   log_info "Successfully uploaded ${1} with curl"
 }
 
-check_env CONDA_FOLDER
 check_env CONDA_PREFIX
 check_env PYTHON_VER
 check_env CI_PROJECT_DIR
@@ -170,6 +169,7 @@ TESTSERVER=https://testpypi.python.org
 
 check_env ARCH
 check_env PYVER
+check_env CONDA_FOLDER
 check_env PREFIX
 check_env CFLAGS
 check_env CXXFLAGS