-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Setup continuous build with travis-ci #667
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
Conversation
|
Awesome, glad to see this in motion, and I hope we can get this in place soon. Currently it looks like this needs a rebase (changes to It would also be nice to run Finally, I'm not sure why the changes to |
|
As a temporary workaround, you can run the tests that only require CPU with |
|
TODO: add "CPU" or "GPU" to the names of all the test cases depending on whether they run on the CPU or the GPU. |
|
Excellent! I'll be so happy to have this at last. While continuous integration for master and dev are good safeguards, our Could you add PR testing to this PR or plan it for a follow-up? Thanks for this! Le vendredi 11 juillet 2014, huyng notifications@github.com a écrit :
Evan Shelhamer |
|
Great feedback. I'll have time on Monday to look into these issues On Friday, July 11, 2014, Evan Shelhamer notifications@github.com wrote:
|
|
Continued for integration in #681. @huyng note @jeffdonahue's completion of your nice work in #681. Your commits are included there. Closing for merge of #681, tailored to Caffe and CPU-only testing. Thanks again for spearheading this! |
|
PR integration for checking build, test, warnings, and lint has been merged. Since this is mostly to check PRs to help review, the build status isn't currently in the README or on the site. The next pass on the home page could add latest release (master + latest commit (dev) and build status badges. |
|
Awesome, thanks @jeffdonahue & @shelhamer . Hope this makes managing the repo a little easier. |
Hey guys, I'm Huy from the flickr-vision team. This PR turns on a continuous build system for this project. All the builds will occur within fresh VMs hosted by the folks at travis-ci.org
The main highlight of this PR is the addition of the
.travis.ymlfile which configures how this project should be built and tested. It will first install all the required dependencies for this project within an Ubuntu 12.04 container. Then it will runmake && make test.It does not yet run
make runtesthowever since the current setup requires a machine with a GPU for the tests to run correctly. I see that there's already a PR out for setting up CPU only tests: #561.When that PR gets merged, a good sanity check would be to uncomment the
make runtestline to verify that all the tests pass in travis-ci.Other notes about the build workflow
The builds will run every time there is an update to the master or dev branches. When a build is finished, travis-ci.org will send a notification via email and via irc chat to the #caffe channel on freenode.
Here's a recent build from my own forked repo: https://travis-ci.org/huyng/caffe/jobs/29659970
If it looks good for merging, there are a few items we'll need to change so that the main BLVC/caffe repo has all the correct permissions and settings with travis-ci.org: