Skip to content

CircleCI with Ubuntu 14.04, 2x parallelism and WebGL jasmine tests #1455

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Mar 9, 2017
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
"karma-firefox-launcher": "^1.0.0",
"karma-jasmine": "^1.1.0",
"karma-jasmine-spec-tags": "^1.0.1",
"karma-spec-reporter": "0.0.30",
"karma-verbose-reporter": "0.0.6",
"madge": "^1.6.0",
"node-sass": "^4.5.0",
Expand Down
11 changes: 10 additions & 1 deletion test/jasmine/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func.defaultConfig = {
// See note in CONTRIBUTING.md about more verbose reporting via karma-verbose-reporter:
// https://www.npmjs.com/package/karma-verbose-reporter ('verbose')
//
reporters: ['progress'],
reporters: isSingleSuiteRun ? ['progress'] : ['dots', 'spec'],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logs now look like:

image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


// web server port
port: 9876,
Expand Down Expand Up @@ -119,6 +119,7 @@ func.defaultConfig = {
extensions: ['.js'],
watch: !isCI,
debug: true
},

// unfortunately a few tests don't behave well on CI
// using `karma-jasmine-spec-tags`
Expand All @@ -128,6 +129,14 @@ func.defaultConfig = {
skipTags: isCI ? 'noCI' : null
},

// use 'karma-spec-reporter' to log info about skipped specs
specReporter: {
suppressErrorSummary: true,
suppressFailed: true,
suppressPassed: true,
suppressSkipped: false,
showSpecTiming: false,
failFast: false
}
};

Expand Down