{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/933","repository_url":"https://api.github.com/repos/thoughtbot/capybara-webkit","labels_url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/933/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/933/comments","events_url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/933/events","html_url":"https://github.com/thoughtbot/capybara-webkit/issues/933","id":169738581,"number":933,"title":"CI test fails on travis-ci","user":{"login":"rainchen","id":71397,"avatar_url":"https://avatars.githubusercontent.com/u/71397?v=3","gravatar_id":"","url":"https://api.github.com/users/rainchen","html_url":"https://github.com/rainchen","followers_url":"https://api.github.com/users/rainchen/followers","following_url":"https://api.github.com/users/rainchen/following{/other_user}","gists_url":"https://api.github.com/users/rainchen/gists{/gist_id}","starred_url":"https://api.github.com/users/rainchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainchen/subscriptions","organizations_url":"https://api.github.com/users/rainchen/orgs","repos_url":"https://api.github.com/users/rainchen/repos","events_url":"https://api.github.com/users/rainchen/events{/privacy}","received_events_url":"https://api.github.com/users/rainchen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-06T09:28:54Z","updated_at":"2016-08-06T23:08:06Z","closed_at":null,"body":"Every thing works fine on my local MacOS box(using QT 5.5) but CI test fails on travis-ci.\r\n\r\nHere is travis-ci build result: https://travis-ci.org/rainchen/react-rails-img/builds/150243935\r\n\r\nit stopped at:\r\n\r\n```\r\n$ xvfb-run bundle exec rake\r\nxvfb-run: error: Xvfb failed to start\r\n```\r\n\r\nand here is the content of `.travis.yml`:\r\n\r\n```\r\nlanguage: ruby\r\nrvm:\r\n  - 2.2.2\r\nenv:\r\n  global:\r\n    - JAVASCRIPT_DRIVER=webkit_debug\r\nbefore_script:\r\n  - export DISPLAY=:99.0\r\n  - sh -e /etc/init.d/xvfb start\r\n  - sleep 3 # give xvfb some time to start\r\nscript: xvfb-run bundle exec rake\r\n```\r\n\r\nTried several times but all failed:\r\n\r\nhttps://travis-ci.org/rainchen/react-rails-img/builds/150224839\r\nhttps://travis-ci.org/rainchen/react-rails-img/builds/150222985\r\nhttps://travis-ci.org/rainchen/react-rails-img/builds/150221369\r\nhttps://travis-ci.org/rainchen/react-rails-img/builds/150220253\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/comments/238053670","html_url":"https://github.com/thoughtbot/capybara-webkit/issues/933#issuecomment-238053670","issue_url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/933","id":238053670,"user":{"login":"mhoran","id":5330,"avatar_url":"https://avatars.githubusercontent.com/u/5330?v=3","gravatar_id":"","url":"https://api.github.com/users/mhoran","html_url":"https://github.com/mhoran","followers_url":"https://api.github.com/users/mhoran/followers","following_url":"https://api.github.com/users/mhoran/following{/other_user}","gists_url":"https://api.github.com/users/mhoran/gists{/gist_id}","starred_url":"https://api.github.com/users/mhoran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhoran/subscriptions","organizations_url":"https://api.github.com/users/mhoran/orgs","repos_url":"https://api.github.com/users/mhoran/repos","events_url":"https://api.github.com/users/mhoran/events{/privacy}","received_events_url":"https://api.github.com/users/mhoran/received_events","type":"User","site_admin":false},"created_at":"2016-08-06T23:08:06Z","updated_at":"2016-08-06T23:08:06Z","body":"Use either xvfb-run OR an init script, not both."}}
{"actor":{"display_login":"mhoran"}}