Files
qmsgpack/.travis.yml

27 lines
635 B
YAML
Raw Normal View History

2015-04-11 15:56:53 +02:00
language: cpp
2018-12-02 00:24:44 +03:00
compiler: gcc
2015-04-11 15:56:53 +02:00
2018-12-02 00:24:44 +03:00
dist: trusty
sudo: required
2015-04-11 15:56:53 +02:00
env:
- QT4_BUILD=OFF
before_install:
2018-12-02 00:24:44 +03:00
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
2015-04-11 15:56:53 +02:00
- sudo apt-get update -qq
2018-12-02 00:33:11 +03:00
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
2015-04-11 15:56:53 +02:00
script:
- mkdir build
- cd build
2015-06-29 19:58:14 +03:00
- if [ "$QT4_BUILD" == "OFF" ]; then cmake -DBUILD_TESTS=TRUE -DQT4_BUILD=FALSE ..; else cmake -DBUILD_TESTS=TRUE -DQT4_BUILD=TRUE ..; fi
2015-04-11 15:56:53 +02:00
- make
2015-06-29 14:58:59 +03:00
- export CTEST_OUTPUT_ON_FAILURE=1
2015-04-11 15:56:53 +02:00
- make test