{"action":"created","issue":{"url":"https://api.github.com/repos/staticfloat/julia-buildbot/issues/24","labels_url":"https://api.github.com/repos/staticfloat/julia-buildbot/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/staticfloat/julia-buildbot/issues/24/comments","events_url":"https://api.github.com/repos/staticfloat/julia-buildbot/issues/24/events","html_url":"https://github.com/staticfloat/julia-buildbot/issues/24","id":93623046,"number":24,"title":"Have the coverage runs output to Codecov as well","user":{"login":"kshyatt","id":828643,"avatar_url":"https://avatars.githubusercontent.com/u/828643?v=3","gravatar_id":"","url":"https://api.github.com/users/kshyatt","html_url":"https://github.com/kshyatt","followers_url":"https://api.github.com/users/kshyatt/followers","following_url":"https://api.github.com/users/kshyatt/following{/other_user}","gists_url":"https://api.github.com/users/kshyatt/gists{/gist_id}","starred_url":"https://api.github.com/users/kshyatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshyatt/subscriptions","organizations_url":"https://api.github.com/users/kshyatt/orgs","repos_url":"https://api.github.com/users/kshyatt/repos","events_url":"https://api.github.com/users/kshyatt/events{/privacy}","received_events_url":"https://api.github.com/users/kshyatt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-07T20:39:59Z","updated_at":"2015-07-10T09:15:03Z","closed_at":null,"body":"Since we now have codecov.io working in CoverageBase, all that should be necessary is to take\r\n\r\n```python\r\nanalyze_cov_cmd = \"\"\"\r\nimport CoverageBase\r\nusing Coverage, HDF5, JLD\r\ncd(joinpath(CoverageBase.julia_top()))\r\nresults=Coveralls.process_folder(\"base\")\r\nsave(\"coverage.jld\", \"results\", results)\r\n\"\"\"\r\n\r\nmerge_cov_cmd = \"\"\"\r\nusing Coverage, CoverageBase, HDF5, JLD, Compat\r\ncd(joinpath(CoverageBase.julia_top()))\r\nr1 = load(\"coverage_noninlined.jld\", \"results\")\r\nr2 = load(\"coverage_inlined.jld\", \"results\")\r\nr = CoverageBase.merge_coverage(r1, r2)\r\ngit_info = @compat Dict(\r\n    \"branch\" => Base.GIT_VERSION_INFO.branch,\r\n    \"remotes\" => [\r\n        @compat Dict(\r\n            \"name\" => \"origin\",\r\n            \"url\" => \"https://github.com/JuliaLang/julia.git\"\r\n        )\r\n    ],\r\n    \"head\" => @compat Dict(\r\n        \"id\" => Base.GIT_VERSION_INFO.commit,\r\n        \"message\" => \"%(prop:commitmessage)s\",\r\n        \"committer_name\" => \"%(prop:commitname)s\",\r\n        \"committer_email\" => \"%(prop:commitemail)s\",\r\n        \"author_name\" => \"%(prop:authorname)s\",\r\n        \"author_email\" => \"%(prop:authoremail)s\",\r\n    )\r\n)\r\nprintln(\"git_info: \")\r\nprintln(git_info)\r\nCoveralls.submit_token(r, git_info)\r\n\"\"\"\r\n```\r\n\r\nto\r\n\r\n```python\r\nanalyze_cov_cmd = \"\"\"\r\nimport CoverageBase\r\nusing Coverage, HDF5, JLD\r\ncd(joinpath(CoverageBase.julia_top()))\r\nresults=Codecov.process_folder(\"base\")\r\nsave(\"coverage.jld\", \"results\", results)\r\n\"\"\"\r\n\r\nmerge_cov_cmd = \"\"\"\r\nusing Coverage, CoverageBase, HDF5, JLD, Compat\r\ncd(joinpath(CoverageBase.julia_top()))\r\nr1 = load(\"coverage_noninlined.jld\", \"results\")\r\nr2 = load(\"coverage_inlined.jld\", \"results\")\r\nr = CoverageBase.merge_coverage(r1, r2)\r\n\r\nCodecov.submit_token(r, git_info)\r\n\"\"\"\r\n```\r\nI think we may not need the full `git info` that Coveralls needed. We can test it out and see. The codecov stuff runs off the same `.cov` files as the Coveralls stuff so we only need to run the tests once. We don't yet have a codecov.io repo set up for `JuliaLang/julia` but that's a 1 minute process."},"comment":{"url":"https://api.github.com/repos/staticfloat/julia-buildbot/issues/comments/120313328","html_url":"https://github.com/staticfloat/julia-buildbot/issues/24#issuecomment-120313328","issue_url":"https://api.github.com/repos/staticfloat/julia-buildbot/issues/24","id":120313328,"user":{"login":"tkelman","id":5934628,"avatar_url":"https://avatars.githubusercontent.com/u/5934628?v=3","gravatar_id":"","url":"https://api.github.com/users/tkelman","html_url":"https://github.com/tkelman","followers_url":"https://api.github.com/users/tkelman/followers","following_url":"https://api.github.com/users/tkelman/following{/other_user}","gists_url":"https://api.github.com/users/tkelman/gists{/gist_id}","starred_url":"https://api.github.com/users/tkelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkelman/subscriptions","organizations_url":"https://api.github.com/users/tkelman/orgs","repos_url":"https://api.github.com/users/tkelman/repos","events_url":"https://api.github.com/users/tkelman/events{/privacy}","received_events_url":"https://api.github.com/users/tkelman/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T09:15:03Z","updated_at":"2015-07-10T09:15:03Z","body":"laziness fight between us and @staticfloat? dunno where I'd put my money there"}}