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

I have placed my code (written in C ++) on GitHub and want to link it to a Continuous Integration (CI) server hosted for example Travis CI or BuildHive . And then I would like to see “build” or “build fail” on my project page. But when I checked the CI environments of these two services, Travis CI is closest to the availability of gcc, git, cmake and sqlite3, but I miss another critical Qt4 library that is required to create my project. It should also be free, as it is a free open source project.

Please tell me how can I do this? Thanks.

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

+7
source share
2 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: - xxx@users.sourceforge.net on_success: change on_failure: always 
+8
source

Not sure if this might work, but this blog post uses Travis Build Matrix to replace one language with another in the .travis.yml file:

 # specify python as the language language: python # python versions to be used for testing python: - "2.6" - "2.7" env: - JYTHON=true - JYTHON=false matrix: exclude: - python: 2.6 env: JYTHON=true before_install: - export JYTHON_URL='http://downloads.sourceforge.net/project/jython/jython/2.5.2/jython_installer-2.5.2.jar?r=http%3A%2F%2Fwww.jython.org%2Fdownloads.html&ts=1338089844&use_mirror=iweb' - if [ "$JYTHON" == "true" ]; then wget $JYTHON_URL -O jython_installer.jar; java -jar jython_installer.jar -s -d $HOME/jython; export PATH=$HOME/jython:$PATH; fi before_script: if [ "$JYTHON" == "true" ]; then export PYTHON_EXE=jython; jython -c "print ''"; else export PYTHON_EXE=python; fi script: $PYTHON_EXE setup.py test 

So, perhaps you can configure a specific assembly, which, in fact, installs qt4 and uses it instead of the official language.

+1
source

All Articles