mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
colorize phantom message
This commit is contained in:
parent
26465733cd
commit
95e7339a38
2 changed files with 4 additions and 2 deletions
|
@ -38,5 +38,5 @@ module.exports = function (grunt) {
|
|||
});
|
||||
|
||||
// load task definitions
|
||||
grunt.loadTasks('tasks');
|
||||
grunt.task.loadTasks('tasks');
|
||||
};
|
||||
|
|
|
@ -5,7 +5,9 @@ module.exports = function (grunt) {
|
|||
grunt.registerTask('test', function () {
|
||||
var testTask = 'mocha:unit';
|
||||
if (process.env.TRAVIS && !process.env.SAUCE_ACCESS_KEY) {
|
||||
grunt.log.writeln('SAUCE_ACCESS_KEY not set in env, running with Phantom');
|
||||
grunt.log.writeln(grunt.log.wordlist([
|
||||
'>> SAUCE_ACCESS_KEY not set in env, running with Phantom'
|
||||
], {color: 'yellow'}));
|
||||
} else {
|
||||
testTask = 'saucelabs-mocha:unit';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue