Skip to content

Added cross-platform binary builds and Travis CI support #3

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

Merged
merged 6 commits into from
Oct 13, 2021

Conversation

Dids
Copy link
Collaborator

@Dids Dids commented May 7, 2019

Uses pyinstaller to build a single-file executable for Linux, macOS and Windows, thanks to Travis CI.

To enable Travis, you just need to go here, login with your GitHub account, go to Settings, search for ProperTree and toggle the on/off switch next to it. After that, each commit should trigger a build.

You can see a successful sample build output here: https://travis-ci.org/Dids/ProperTree/builds/529411076

Note that this doesn't have any tag/release logic yet, but I can work on that next if you're interested. :)

EDIT: Sorry, missed PR #2, although it has a bit of a different approach.

Dids added 5 commits May 7, 2019 20:25
…I tests.

- Added initial .travis.yml for all three platforms
- Applied a simple fix to ProperTree.command for pyinstaller failing to load/bundle all dependencies
@dhinakg
Copy link

dhinakg commented May 7, 2019

Travis-CI.org is deprecated, use Travis-CI.com instead.

@Dids
Copy link
Collaborator Author

Dids commented May 7, 2019

Travis-CI.org is deprecated, use Travis-CI.com instead.

Source? Couldn't find anything solid on Google, and last I checked travis-ci.com was for paid/commercial projects, while travis-ci.org was for free/public/OSS. I have hundreds of projects building there, and don't see any deprecation notices, nor have I received any such emails from them.

@dhinakg
Copy link

dhinakg commented May 9, 2019

https://blog.travis-ci.com/2018-05-02-open-source-projects-on-travis-ci-com-with-github-apps
image
They've said that migration to .com will occur soon™, but after a year it still hasn't happened.
I got a notice when they publicized this.

@cclauss
Copy link
Contributor

cclauss commented Oct 4, 2021

Please fix git conflicts.

@Dids Dids merged commit aa8c36e into corpnewt:master Oct 13, 2021
@cclauss
Copy link
Contributor

cclauss commented Oct 13, 2021

The bummer is that Travis CI now requires $ to run.

Perhaps shift to GitHub Actions?

@Dids
Copy link
Collaborator Author

Dids commented Oct 13, 2021

No idea what just happened here. I was happily working on something unrelated in my own fork, merging upstream changes from this repo to my fork, when I noticed that this had suddenly been merged.

Re Travis: GitHub Actions sounds good and perfectly feasible.

EDIT: Hmm, I guess this PR was left open, but still no idea how it got merged when doing upstream sync in the fork itself.

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

Successfully merging this pull request may close these issues.

3 participants