{"action":"opened","issue":{"url":"https://api.github.com/repos/forcedotcom/SalesforcePy/issues/6","repository_url":"https://api.github.com/repos/forcedotcom/SalesforcePy","labels_url":"https://api.github.com/repos/forcedotcom/SalesforcePy/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/forcedotcom/SalesforcePy/issues/6/comments","events_url":"https://api.github.com/repos/forcedotcom/SalesforcePy/issues/6/events","html_url":"https://github.com/forcedotcom/SalesforcePy/issues/6","id":369257457,"node_id":"MDU6SXNzdWUzNjkyNTc0NTc=","number":6,"title":"Coveralls command fails at after_success in Travis build","user":{"login":"caffalaughrey","id":39694873,"node_id":"MDQ6VXNlcjM5Njk0ODcz","avatar_url":"https://avatars0.githubusercontent.com/u/39694873?v=4","gravatar_id":"","url":"https://api.github.com/users/caffalaughrey","html_url":"https://github.com/caffalaughrey","followers_url":"https://api.github.com/users/caffalaughrey/followers","following_url":"https://api.github.com/users/caffalaughrey/following{/other_user}","gists_url":"https://api.github.com/users/caffalaughrey/gists{/gist_id}","starred_url":"https://api.github.com/users/caffalaughrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caffalaughrey/subscriptions","organizations_url":"https://api.github.com/users/caffalaughrey/orgs","repos_url":"https://api.github.com/users/caffalaughrey/repos","events_url":"https://api.github.com/users/caffalaughrey/events{/privacy}","received_events_url":"https://api.github.com/users/caffalaughrey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-11T18:50:07Z","updated_at":"2018-10-11T18:50:07Z","closed_at":null,"author_association":"COLLABORATOR","body":"## Background\r\nAs we can see in Travis builds [like this one](https://travis-ci.com/forcedotcom/SalesforcePy/jobs/151267161), the `coveralls` command fails, seemingly as the .coverage/.coveragerc files are not in the current working directory.\r\n\r\n```bash\r\n$ coveralls --data_file=.coverage --config_file=.coveragerc\r\nTraceback (most recent call last):\r\n  File \"/home/travis/virtualenv/python3.6.3/bin/coveralls\", line 11, in <module>\r\n    sys.exit(wear())\r\n  File \"/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/coveralls/__init__.py\", line 87, in wear\r\n    coverage = coveralls(data_file=args.data_file, config_file=args.config_file)\r\n  File \"/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/coverage/control.py\", line 149, in __init__\r\n    concurrency=concurrency,\r\n  File \"/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/coverage/config.py\", line 467, in read_coverage_config\r\n    raise CoverageException(\"Couldn't read '%s' as a config file\" % fname)\r\ncoverage.misc.CoverageException: Couldn't read '/home/travis/build/forcedotcom/SalesforcePy/.coveragerc' as a config file\r\n```\r\n\r\n## Reproducible scenario\r\n1. Make sure the fork of SalesforcePy for your Github account is enabled in Travis.\r\n2. Push a commit.\r\n3. View the corresponding Travis job.\r\n\r\n## Actual results\r\nCoveralls command fails.\r\n\r\n## Expected results\r\nCoverage stats should be sent to coveralls.  They should then [be visible here](https://coveralls.io/github/forcedotcom/SalesforcePy).\r\n\r\n## Suggested fix\r\nPossibly to remove the flags altogether."}}
{"actor":{"display_login":"caffalaughrey"}}