update travis config for qt5 builds, add build status to README.md

This commit is contained in:
Matt Broadstone 2014-06-03 22:14:10 -04:00
parent 7b695f52f3
commit 9a4e1f2764
3 changed files with 14 additions and 0 deletions

View File

@ -4,6 +4,8 @@ env:
- QT_SELECT=qt5
services:
- rabbitmq
install:
- tests/test-deps.sh
script:
- mkdir build
- cd build

View File

@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/mbroadst/qamqp-ng.svg?branch=master)](https://travis-ci.org/mbroadst/qamqp-ng)
QAMQP
=============
Qt4/Qt5 implementation of AMQP 0.9.1.

10
tests/test-deps.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
if [ "$QT_SELECT" = "qt4" ]; then
sudo apt-get update
sudo apt-get install libqt4-dev
else
sudo add-apt-repository -y ppa:ubuntu-sdk-team/ppa
sudo apt-get update
sudo apt-get install qtbase5-dev
fi