mirror of
https://github.com/romixlab/qmsgpack.git
synced 2025-06-24 17:11:33 +02:00
27 lines
635 B
YAML
27 lines
635 B
YAML
language: cpp
|
|
compiler: gcc
|
|
|
|
dist: trusty
|
|
sudo: required
|
|
|
|
env:
|
|
- QT4_BUILD=OFF
|
|
|
|
before_install:
|
|
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
|
|
- sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
|
|
- sudo apt-get update -qq
|
|
|
|
install:
|
|
- sudo apt-get install -y --force-yes build-essential g++-4.8 -y
|
|
- sudo apt-get install -y --force-yes qtbase5-dev qttools5-dev-tools qttools5-dev
|
|
|
|
|
|
script:
|
|
- mkdir build
|
|
- cd build
|
|
- if [ "$QT4_BUILD" == "OFF" ]; then cmake -DBUILD_TESTS=TRUE -DQT4_BUILD=FALSE ..; else cmake -DBUILD_TESTS=TRUE -DQT4_BUILD=TRUE ..; fi
|
|
- make
|
|
- export CTEST_OUTPUT_ON_FAILURE=1
|
|
- make test
|