{"action":"created","issue":{"url":"https://api.github.com/repos/chalk/chalk/issues/307","repository_url":"https://api.github.com/repos/chalk/chalk","labels_url":"https://api.github.com/repos/chalk/chalk/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/chalk/chalk/issues/307/comments","events_url":"https://api.github.com/repos/chalk/chalk/issues/307/events","html_url":"https://github.com/chalk/chalk/issues/307","id":377448982,"node_id":"MDU6SXNzdWUzNzc0NDg5ODI=","number":307,"title":"Colour support on TravisCI","user":{"login":"Berkmann18","id":8260834,"node_id":"MDQ6VXNlcjgyNjA4MzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/8260834?v=4","gravatar_id":"","url":"https://api.github.com/users/Berkmann18","html_url":"https://github.com/Berkmann18","followers_url":"https://api.github.com/users/Berkmann18/followers","following_url":"https://api.github.com/users/Berkmann18/following{/other_user}","gists_url":"https://api.github.com/users/Berkmann18/gists{/gist_id}","starred_url":"https://api.github.com/users/Berkmann18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Berkmann18/subscriptions","organizations_url":"https://api.github.com/users/Berkmann18/orgs","repos_url":"https://api.github.com/users/Berkmann18/repos","events_url":"https://api.github.com/users/Berkmann18/events{/privacy}","received_events_url":"https://api.github.com/users/Berkmann18/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-05T15:25:52Z","updated_at":"2018-11-20T15:47:29Z","closed_at":null,"author_association":"NONE","body":"I'm currently working on a package where I'm planning on switching to `chalk` and up to now TravisCI didn't have any problems with colours on the console (using `colors`) but after pushing some code with **passing** tests (on the `chalk`-based codebase), Travis seems to disable colours which make all the tests fail.\r\n\r\nI've understood from this [comment](https://github.com/chalk/chalk/issues/234#issuecomment-351849373) that TravisCI seems to non-determistically change `supports-color` but I'm unsure if there's a fix for that or if I have to manually enable it using `chalk.enable = true` or even set the `chalk.level` to something other than `0` (which is what I get on the TravisCI log).\r\n\r\nEDIT: `if (!chalk.enabled) chalk.enabled = true;` doesn't help.\r\n"},"comment":{"url":"https://api.github.com/repos/chalk/chalk/issues/comments/440320875","html_url":"https://github.com/chalk/chalk/issues/307#issuecomment-440320875","issue_url":"https://api.github.com/repos/chalk/chalk/issues/307","id":440320875,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDMyMDg3NQ==","user":{"login":"nazrhyn","id":1672405,"node_id":"MDQ6VXNlcjE2NzI0MDU=","avatar_url":"https://avatars3.githubusercontent.com/u/1672405?v=4","gravatar_id":"","url":"https://api.github.com/users/nazrhyn","html_url":"https://github.com/nazrhyn","followers_url":"https://api.github.com/users/nazrhyn/followers","following_url":"https://api.github.com/users/nazrhyn/following{/other_user}","gists_url":"https://api.github.com/users/nazrhyn/gists{/gist_id}","starred_url":"https://api.github.com/users/nazrhyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazrhyn/subscriptions","organizations_url":"https://api.github.com/users/nazrhyn/orgs","repos_url":"https://api.github.com/users/nazrhyn/repos","events_url":"https://api.github.com/users/nazrhyn/events{/privacy}","received_events_url":"https://api.github.com/users/nazrhyn/received_events","type":"User","site_admin":false},"created_at":"2018-11-20T15:47:29Z","updated_at":"2018-11-20T15:47:29Z","author_association":"CONTRIBUTOR","body":"@Qix- You missed part of my quote:\r\n\r\n> [...] once chalk has detected color is not supported, it's not possible to turn it back on programmatically.\r\n\r\nThat's the entire basis of the issue I submitted a while back: https://github.com/chalk/chalk/issues/234\r\n\r\nAre you saying that's been fixed?"}}
{"actor":{"display_login":"nazrhyn"}}