Ask Your Question
1

Best way to depend on OpenCV master in a Travis CI build-bot instance

asked 2013-10-05 12:57:48 -0600

emchristiansen gravatar image

I'm writing a library which depends on the master branch of itseez/opencv, and I'd like to do continuous integration with Travis CI.

What is the best way to get the current (or something close to it) master on a Travis CI instance? (The simple answer is to just do a git clone and build OpenCV from source on the Travis CI instance. But OpenCV may take longer to build than Travis CI allows.)

For example, OpenCV also does continuous integration; is there some way to download the build artifacts, so I don't need to rebuild everything?

Better yet, is debian package creation part of the continuous integration? If so, is there a PPA I can use to grab them?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-10-16 13:23:35 -0600

emchristiansen gravatar image

It turns out git clone followed by a from-source build is a valid method (Travis CI doesn't time out). See this project for an example. In particular, look at its .travis.yml file.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-10-05 12:57:48 -0600

Seen: 1,405 times

Last updated: Oct 16 '13