diff --git a/conda/meta.yaml b/conda/meta.yaml index 127c99b0246b2fe6f5c798069df3890fc4da66cd..8880681b874f18d92e1b90f5345ab0578e20fc16 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -59,11 +59,10 @@ test: - beat editor --help - beat editor serve --help - nosetests --with-coverage --cover-package={{ name }} -sv {{ name }} - {% if environ.get('BEAT_BROWSER_TESTS') %} - - cd {{ project_dir }}/conda/js - - npm install - - npm test - - cd - + - if [ -n "${BEAT_DOCKER_TESTS}" ]; then cd {{ project_dir }}/conda/js; fi + - if [ -n "${BEAT_DOCKER_TESTS}" ]; then npm install; fi + - if [ -n "${BEAT_DOCKER_TESTS}" ]; then npm test; fi + - if [ -n "${BEAT_DOCKER_TESTS}" ]; then cd -; fi {% endif %} - sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx - sphinx-build -aEb doctest {{ project_dir }}/doc sphinx