diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 433841756502e20b961840cd8f48b1cf6e77ffbe..3a503b44c01b28e76a473c473846c1468a0a4c24 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -106,6 +106,8 @@ build_macosx_36:
     - ./_ci/before_build.sh
     - mv conda-bld ${CONDA_ROOT}
   script:
+    - export LC_ALL=C.UTF-8
+    - export LANG=C.UTF-8
     - export BEAT_BROWSER_TESTS=true
     - BOB_TEST_ONLY=true ./_ci/build.sh
   after_script:
diff --git a/conda/meta.yaml b/conda/meta.yaml
index 8d92ac831faf4d1afe050442eb4c654a3860b286..18556f85ea17957841faa819d0af25327fef7851 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -53,8 +53,6 @@ test:
     - {{ name }}
 
   commands:
-    - export LC_ALL=C.UTF-8  # [linux]
-    - export LANG=C.UTF-8  # [linux]
     - beat editor --help
     - nosetests --with-coverage --cover-package={{ name }} -sv {{ name }}
     - sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx