Is there an example project in C ++ that uses opencv and travis ci?

I use Github as a source control tool and I would like to use the travis-ci plugin for CI. I did not find a single project that would do this. Since travis-ci provides ubuntu 12.04 without openCV libraries, I install them, but then I have problems using CMake to compile my code with installed libraries. I would really like to see an example of a project and its .travis.yml, if you know one, preferably with a setting that will work both on travis ubuntu and on windows for development machines.

+6
source share
1 answer

Here is an example .travis.yml for creating a project using CMake:

language: cpp compiler: - gcc before_script: - mkdir build - cd build - cmake .. script: make 

The full project is available from https://github.com/leutloff/diff-match-patch-cpp-stl . Another example is available from You need to host a CI server with Qt4, sqlite3, cmake, git, gcc for a project on GitHub .

+12
source

All Articles