Commit c1dd28f6 authored by Flavio TARSETTI's avatar Flavio TARSETTI

Merge branch 'enable-chrome-testing' into master

parents 62e468e9 6ad6e8a9
Pipeline #25216 passed with stages
in 31 minutes and 18 seconds
...@@ -102,7 +102,7 @@ build_macosx_36: ...@@ -102,7 +102,7 @@ build_macosx_36:
- mv conda-bld ${CONDA_ROOT} - mv conda-bld ${CONDA_ROOT}
script: script:
- export BEAT_BROWSER_TESTS=true - export BEAT_BROWSER_TESTS=true
- BOB_TEST_ONLY=true ./_ci/build.sh - BEAT_BROWSER_TESTS=true BOB_TEST_ONLY=true ./_ci/build.sh
after_script: after_script:
- ./_ci/after_build.sh - ./_ci/after_build.sh
......
...@@ -8,9 +8,8 @@ delete webpackConfig.entry; ...@@ -8,9 +8,8 @@ delete webpackConfig.entry;
module.exports = function (config) { module.exports = function (config) {
config.set({ config.set({
browsers: [ browsers: [
// TODO: try to renable once chromium >55 comes out
//'ChromeHeadless',
'FirefoxHeadless', 'FirefoxHeadless',
//'ChromiumHeadless',
], ],
customLaunchers: { customLaunchers: {
FirefoxHeadless: { FirefoxHeadless: {
......
...@@ -36,6 +36,9 @@ requirements: ...@@ -36,6 +36,9 @@ requirements:
- beat.cmdline - beat.cmdline
test: test:
script_env:
- BEAT_BROWSER_TESTS
files: files:
- js - js
...@@ -56,16 +59,14 @@ test: ...@@ -56,16 +59,14 @@ test:
- beat editor --help - beat editor --help
- beat editor serve --help - beat editor serve --help
- nosetests --with-coverage --cover-package={{ name }} -sv {{ name }} - nosetests --with-coverage --cover-package={{ name }} -sv {{ name }}
- if [ -n "${BEAT_BROWSER_TESTS}" ]; then cd {{ project_dir }}/conda/js; fi
- if [ -n "${BEAT_BROWSER_TESTS}" ]; then npm install; fi
- if [ -n "${BEAT_BROWSER_TESTS}" ]; then CHROMIUM_BIN=chromium-browser npm test; fi
- if [ -n "${BEAT_BROWSER_TESTS}" ]; then cd -; fi
- sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx - sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx
- sphinx-build -aEb doctest {{ project_dir }}/doc sphinx - sphinx-build -aEb doctest {{ project_dir }}/doc sphinx
- conda inspect linkages -p $PREFIX {{ name }} # [not win] - conda inspect linkages -p $PREFIX {{ name }} # [not win]
- conda inspect objects -p $PREFIX {{ name }} # [osx] - 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 %}
about: about:
home: https://www.idiap.ch/software/beat/ home: https://www.idiap.ch/software/beat/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment