On 18 February 2013 14:07, Vadim Zeitlin <[email protected]> wrote: > On Mon, 18 Feb 2013 13:53:27 +0000 Mateusz Loskot <[email protected]> wrote: > > ML> It should work automatically. > > I didn't realize it was as smart as this, sorry, I should have just waited > a bit instead of asking.
Yes, it's pretty & cool :) Here is full story: http://about.travis-ci.org/blog/2012-09-04-pull-requests-just-got-even-more-awesome/ The problem is that I don't know how to manually 'refresh' the build status for a pull. So, in this case, even if it wasn't your pull request that broken the build (it was my commit before), your pull request is still marked as failing, and I don't know how to get it refreshed. There are some manual build mechanisms in Travis, but I haven't learned about them yet. So, we have to ignore the status below your pull request at https://github.com/SOCI/soci/pull/73 The current status is also displayed from README https://github.com/SOCI/soci/blob/master/README.md (it may be reluctant to page refresh though :)) or you can simply load this image: https://api.travis-ci.org/SOCI/soci.png if build fails, it will change to red :) Ther are some Chrome or Firefox extensions that display current build status by repo name too: http://about.travis-ci.org/docs/user/browser-extensions/ > ML> See the screenshot attached, this build failed as meanwhile > ML> I'd broken the common-tests.h, sorry, fix followed > > Sorry for more newbie questions but how do I retry the test now? > > BTW, while we're on the testing topic, would you have any idea how to > configure the Firebird test to work with the official Debian (I think it > should be the same thing under Ubuntu) packages? SOCI travis runs Debian, so I think it should be the same. Check config lines in .travis.yml file in the source root dir, they include plain apt-get and other configs > I can't make it work on my > system because there doesn't seem to be any way to install libfbembed.so as > libfbclient.so, and as soci_firebird_test depends on the latter and not on > the former, the only way to make it work I can see is to copy > /usr/lib/libedit.so.2 to ~/tmp/libfbclient.so and put ~/tmp as the first > directory of LD_LIBRARY_PATH when running the test. But surely there must > be some other, better way? As you can see in the .travis.yml, I don't play any such advanced games really. I can't give any Firebird-specific advice here, but if there are two types of clients for Firebird, perhaps we can update CMake to allow users to choose. I think similar thing will need to be added for MySQL, as we already detect embedded MySQL in FindMySQL.cmake. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
