Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beat.editor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
beat
beat.editor
Commits
c1dd28f6
Commit
c1dd28f6
authored
6 years ago
by
Flavio TARSETTI
Browse files
Options
Downloads
Plain Diff
Merge branch 'enable-chrome-testing' into master
parents
62e468e9
6ad6e8a9
No related branches found
No related tags found
No related merge requests found
Pipeline
#25216
passed
6 years ago
Stage: build
Stage: browser-tests
Changes
3
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
conda/js/karma.conf.js
+1
-2
1 addition, 2 deletions
conda/js/karma.conf.js
conda/meta.yaml
+7
-6
7 additions, 6 deletions
conda/meta.yaml
with
9 additions
and
9 deletions
.gitlab-ci.yml
+
1
−
1
View file @
c1dd28f6
...
...
@@ -102,7 +102,7 @@ build_macosx_36:
-
mv conda-bld ${CONDA_ROOT}
script
:
-
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
:
-
./_ci/after_build.sh
...
...
This diff is collapsed.
Click to expand it.
conda/js/karma.conf.js
+
1
−
2
View file @
c1dd28f6
...
...
@@ -8,9 +8,8 @@ delete webpackConfig.entry;
module
.
exports
=
function
(
config
)
{
config
.
set
({
browsers
:
[
// TODO: try to renable once chromium >55 comes out
//'ChromeHeadless',
'
FirefoxHeadless
'
,
//'ChromiumHeadless',
],
customLaunchers
:
{
FirefoxHeadless
:
{
...
...
This diff is collapsed.
Click to expand it.
conda/meta.yaml
+
7
−
6
View file @
c1dd28f6
...
...
@@ -36,6 +36,9 @@ requirements:
-
beat.cmdline
test
:
script_env
:
-
BEAT_BROWSER_TESTS
files
:
-
js
...
...
@@ -56,16 +59,14 @@ test:
-
beat editor --help
-
beat editor serve --help
-
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 -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 %
}
about
:
home
:
https://www.idiap.ch/software/beat/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment