mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-20 09:33:52 +00:00
Adds Karma to TravisCI
- Updates travis to run karma - Adds some actual tests Sample build success: https://travis-ci.org/djvirgen/kubernetes/jobs/61567253 Note: My branch is currently up to date with master but all the Go stuff is failing in Travis. Not sure why Go is failing, but the Karma stuff is running OK. I've also verified that when a Jasmine test fails, Travis will fail the build (see [this build](https://travis-ci.org/djvirgen/kubernetes/jobs/61567666) here).
This commit is contained in:
@@ -27,7 +27,14 @@ module.exports = function(config) {
|
||||
|
||||
browsers: ['Chrome'],
|
||||
|
||||
plugins: ['karma-chrome-launcher', 'karma-firefox-launcher', 'karma-jasmine', 'karma-junit-reporter'],
|
||||
plugins: [
|
||||
'karma-chrome-launcher',
|
||||
'karma-firefox-launcher',
|
||||
'karma-jasmine',
|
||||
'karma-junit-reporter',
|
||||
'karma-story-reporter',
|
||||
'karma-phantomjs-launcher'
|
||||
],
|
||||
|
||||
junitReporter: {outputFile: 'test_out/unit.xml', suite: 'unit'}
|
||||
|
||||
|
Reference in New Issue
Block a user