mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Ensure test coverage exit in Travis
refs 611e8b5634
- looks like only grunt coverage won't tell Travis that the tests are finished
- second attempt
This commit is contained in:
parent
3f823951ba
commit
3e482254a3
1 changed files with 2 additions and 2 deletions
|
@ -180,7 +180,7 @@ var config = require('./core/server/config'),
|
||||||
options: {
|
options: {
|
||||||
mask: '**/*_spec.js',
|
mask: '**/*_spec.js',
|
||||||
coverageFolder: 'core/test/coverage/unit',
|
coverageFolder: 'core/test/coverage/unit',
|
||||||
mochaOptions: ['--timeout=15000', '--require', 'core/server/overrides'],
|
mochaOptions: ['--timeout=15000', '--require', 'core/server/overrides', '--exit'],
|
||||||
excludes: ['core/client', 'core/server/built']
|
excludes: ['core/client', 'core/server/built']
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -193,7 +193,7 @@ var config = require('./core/server/config'),
|
||||||
options: {
|
options: {
|
||||||
coverageFolder: 'core/test/coverage/all',
|
coverageFolder: 'core/test/coverage/all',
|
||||||
mask: '**/*_spec.js',
|
mask: '**/*_spec.js',
|
||||||
mochaOptions: ['--timeout=15000', '--require', 'core/server/overrides'],
|
mochaOptions: ['--timeout=15000', '--require', 'core/server/overrides', '--exit'],
|
||||||
excludes: ['core/client', 'core/server/built']
|
excludes: ['core/client', 'core/server/built']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue