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

Building .exe with Travis CI #32

Closed
dreua opened this issue Dec 11, 2017 · 7 comments
Closed

Building .exe with Travis CI #32

dreua opened this issue Dec 11, 2017 · 7 comments

Comments

@dreua
Copy link
Member

dreua commented Dec 11, 2017

Hey,
I wanted to learn how Travis CI works and cnping came in handy as a test subject: I managed to build it on their servers and as a bonus upload the .exe to the releases page. (The exe works on Windows 10 as expected.)

If you want to integrate this in your main branch you have to sign up to Travis CI (which is free and really easy) and take my .travis.yml and customize it to your repository. (change api_key.secure, repo and branch)

I am not sure if this is worth the effort so please feel free to just close this in case you are not interested. I can provide more information, links and help if needed.

@cnlohr
Copy link
Member

cnlohr commented Dec 27, 2017

What is the API key?

This does look very cool.

@dreua
Copy link
Member Author

dreua commented Dec 27, 2017

Travis needs a Github API key for the access rights to upload files (they call it assets) to your projects releases page on Github.
See https://docs.travis-ci.com/user/deployment/releases/#Authenticating-with-an-OAuth-token for more information. I installed the Travis client and used the travis setup releases command to automate the creation and encryption of the needed key. (The .travis.yml file is part of your public repository so the Github API key must be stored encrypted with a public key from Travis, so only the Travis servers can decrypt and use it to upload the files back to Github.)

@cnlohr
Copy link
Member

cnlohr commented Dec 28, 2017

Now I just have to figure out how to mark issues unread so I can try to get this tomorrow.

@dreua
Copy link
Member Author

dreua commented Dec 28, 2017

Maybe another comment will do?

@cnlohr
Copy link
Member

cnlohr commented Sep 24, 2019

@dreua Are you interested in taking over cnping?

@dreua
Copy link
Member Author

dreua commented Sep 24, 2019

Well yeah, I was actually thinking about asking you about this when I was worried that you might not be interested or have the time to look after this project any more.
I think I could take care of this issue, the versioning, maybe the makefile (#61), then finish the Fedora packaging, small issues and pull requests that might come in and stuff like this. To be honest though, for bigger work like an Android release or IPv6 support I currently lack the time that I would need to write this in C.
That being said, I'd really like to keep this project alive as it's not only very useful for me but also my first Open Source contribution. (Yes, you got my into this via Youtube! Thanks by the way ;))
What exactly do you mean by taking over? (Repository access, fork, Github group...?)
Looking forward to hearing from you!

@cnlohr
Copy link
Member

cnlohr commented Sep 27, 2019

I totally forgot that I could make collaborators. You should be able to do whatever you need to do in my repo now. I was originally thinking that it would be more along the lines of you making dreua/cnping and I have a note saying "it's there now" but I really think I'm going to be able to get back into more of the open source stuff. LMK if having repo access makes any of these functions easier.

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