Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Need hosted CI server with Qt4, sqlite3, cmake, git, gcc for project on GitHub

I have hosted my code (written in C++) on GitHub and wish to link it to a hosted Continuous Integration (CI) server like Travis CI or BuildHive. And then I'd like to see "build passing" or "build failing" on my project page. But when I checked the CI environments of these two services, Travis CI comes the closest with availability of gcc, git, cmake and sqlite3, but I'm missing another critical library which is Qt4, which is required for building my project. It should also be free, since it's a free and open source project.

Please tell me how I can do this? Thanks.

I need: gcc, git, cmake, sqlite3 and Qt4.

like image 788
ruben2020 Avatar asked Feb 24 '13 09:02

ruben2020


1 Answers

The following .travis.yml solves my problem. The answer can be found on this page: http://about.travis-ci.org/docs/user/build-configuration/#Installing-Packages-Using-apt

 language: cpp

 compiler: gcc

 before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq cmake sqlite3 qt4-dev-tools

 before_script:
   - mkdir build
   - cd build
   - cmake ..

 script: make

 notifications:
   email:
     - [email protected]
   on_success: change
   on_failure: always
like image 188
ruben2020 Avatar answered Nov 03 '22 02:11

ruben2020