diff --git a/conda/meta.yaml b/conda/meta.yaml
index 54bd4e00755c1d22a2dc3b930dda34e4c3ae1548..fe7462189c8495175fb6d63b3848e1d11f1ac82b 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -56,16 +56,16 @@ test:
     - beat editor --help
     - beat editor serve --help
     - nosetests --with-coverage --cover-package={{ name }} -sv {{ name }}
-    - sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx
-    - sphinx-build -aEb doctest {{ project_dir }}/doc sphinx
-    - conda inspect linkages -p $PREFIX {{ name }}  # [not win]
-    - conda inspect objects -p $PREFIX {{ name }}  # [osx]
     {% if environ.get('BEAT_BROWSER_TESTS', False)  %}
     - cd {{ project_dir }}/conda/js
     - npm install
     - npm test
     - cd -
     {% endif %}
+    - sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx
+    - sphinx-build -aEb doctest {{ project_dir }}/doc sphinx
+    - conda inspect linkages -p $PREFIX {{ name }}  # [not win]
+    - conda inspect objects -p $PREFIX {{ name }}  # [osx]
 
 about:
   home: https://www.idiap.ch/software/beat/