Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending more env variables #1

Open
stevepeak opened this issue Oct 5, 2014 · 5 comments
Open

Sending more env variables #1

stevepeak opened this issue Oct 5, 2014 · 5 comments

Comments

@stevepeak
Copy link

I'll edit this message soon and elaborate, just needed to get it posted for the moment

Couple of env variables missing - here is a list of one's we are currently accepting per ci company: env variables ex

Thanks

@stevepeak stevepeak changed the title Sending buid_id Sending more env variables Oct 5, 2014
@killy971
Copy link
Owner

killy971 commented Oct 5, 2014

What is the behavior is any of these extra environment variable is missing?

Are the variable names in the url used to send the report the same as the variable names used in your python file?
For example, should the url contain "build=123456", or "build_id=123456" as suggested by the original title of this issue?

@stevepeak
Copy link
Author

So the build_id simply changed to build and it is used primarily to distinguish the build number in the user interface.

URL Params Explained

name desc
owner repo owner username
repo repo name
service ci company name
branch git bracnh
commit git commit
token codecov upload uuid
build ci build identifier, for matrix builds
package what tool is uploading, ex `[email protected]
build_url ci company build url, ex https://...
travis_job_id travis job id
pull_request pull request #

@killy971
Copy link
Owner

killy971 commented Oct 6, 2014

Thank you very much, maybe I'll just add the Travis related ones first, in version 0.1.1.
You can add Haskell to the supported languages on Codecov if you're OK with the current version.

The simplest example usage for Travis CI is:

language: haskell
 ghc: 7.8
 script:
   - cabal configure --enable-tests --enable-library-coverage && cabal build && cabal test
 after_script:
   - cabal install codecov-haskell
   - codecov-haskell [options] [test-suite-names]

It would be good to also add a link to this repository for the documentation.

@killy971
Copy link
Owner

killy971 commented Oct 6, 2014

Actually I've just noticed that someone is already successfully using codecov-haskell!

➡️ https://codecov.io/github/Yuras

@stevepeak
Copy link
Author

Thanks! I'll update the website to reflect this uploader. It's awesome to see a customer already use it 👍 Great job!

symbiont-sam-halliday pushed a commit to symbiont-sam-halliday/codecov-haskell that referenced this issue Dec 9, 2019
* remove support for GHC 7.x
* build project with Stack and Nix
* fix some Cabal warnings
* robust path to mix/tix files generation
* use Stack coverage reports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants