-
Notifications
You must be signed in to change notification settings - Fork 66
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
Add a Readme badge for "Build Passing" #33
Comments
Better yet - Let buildasaur build itself! 😄 |
That's already happening, the little green checkmark and the comment in #32 was sent by my home Mac running Buildasaur on this repo continuously :) |
That's nice. I guess you should use Travis CI for those buttons, but I don't think they support Swift yet. According to their blog, they're working on it right now though. Maybe Buildasaur could run a small server that returns the correct of those two images for a specific branch? |
Actually, I'll probably just do it by injecting Javascript and pulling the latest master's commit status and interpreting it as a success/failure and showing the appropriate badge from shields.io. |
Travis CI doesn't require you to manage servers. You just enable your repo on Travis and it will build the project on their servers. Very convenient - and free for open source projects. |
Yeah I am aware, but unfortunately as far as I know, Travis doesn't yet support Swift 1.2 with Xcode 6.3 :( Also, I'd like to develop a way to do the badging for people using only Buildasaur as well, so it's more of an exercise and a proof of concept :) |
Unfortunately I wasn't able to do it. This worked in a blank HTML page, but not embedded in the Readme's markdown. So I caved and added one endpoint to my playground server, from where the right badge is now pulled based on the status of the latest commit on master. Let me know if you can think of a way to show the badge without having to have a server (preferably client-side Javascript like the one I wrote, only we need one that actually works in GitHub's markdown pages). |
Add a badge specifying the status of the latest master commit, something like and
The text was updated successfully, but these errors were encountered: