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

Fix make distcheck and add Travis CI configuration #776

Merged
merged 3 commits into from
Jul 24, 2016

Conversation

bluca
Copy link
Member

@bluca bluca commented Jun 2, 2016

@ArchangeGabriel @Lekensteyn - As discussed here: #772 (comment) we could upload dist tarballs via Travis directly on Github. We also get a build CI for free :-)

Once it's setup, after pushing a tag on the designated branch you'll automatically get the release and the make dist deploy, and this is how it looks like: https://github.com/bluca/Bumblebee/releases/tag/3.2.1-test
This is the CI build: https://travis-ci.org/bluca/Bumblebee/builds/134895811

If you guys like it, I'll setup Travis for this repository, and create an OAUTH token that can be used. An additional commit will be needed to use those, it will look like this but with different data: bluca@9390eb0

bluca added 3 commits June 2, 2016 23:58
Udev rules are hard-coded to /lib install prefix, so distcheck fails.
As a workaround, use distcheck flags to override and point to local
prefix.
make distcheck fails due to the use of a wildcard to select all
headers in src, in EXTRA_DIST. List all individual headers instead
to stop the failure.
@ArchangeGabriel
Copy link
Member

OK, seems good to me, although I know close to nothing about CI and the like.

@Lekensteyn Any thoughts?

@bluca
Copy link
Member Author

bluca commented Jul 23, 2016

@Lekensteyn - ping :-)

@Lekensteyn
Copy link
Member

Lekensteyn commented Jul 24, 2016

LGTM, thanks @bluca

@Lekensteyn Lekensteyn merged commit ed7551a into Bumblebee-Project:develop Jul 24, 2016
@bluca
Copy link
Member Author

bluca commented Jul 24, 2016

Thanks!

You'll need to enable the repository on travis-ci.org, I don't have permissions:

https://travis-ci.org/profile/Bumblebee-Project

You can login with your Github account and then flick the switch.

Also, what do you think of releasing tarballs through Travis and Github as I wrote? If you guys are ok with the idea I can send a PR to implement it.

@Lekensteyn
Copy link
Member

Forgot to enable it, now Travis should work for future PRs and pushes to develop.

I am mostly fine with releasing tarballs through Travis and Github. Normally I would run some tests by hand, but that can still be done before tagging.

@bluca bluca deleted the travis branch July 24, 2016 22:01
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