2016-06-29 07:01:34 +04:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
2016-06-29 06:52:23 +04:00
|
|
|
language: cpp
|
2016-08-21 12:34:06 +03:00
|
|
|
cache: ccache
|
2016-10-21 23:15:46 +03:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-5
|
2016-10-21 23:33:24 +03:00
|
|
|
env:
|
|
|
|
-CXX_COMPILER=g++-5
|
|
|
|
-C_COMPILER=gcc-5
|
2016-10-21 23:15:46 +03:00
|
|
|
- compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- llvm-toolchain-precise-3.6
|
|
|
|
packages:
|
|
|
|
- clang-3.6
|
2016-10-21 23:33:24 +03:00
|
|
|
env:
|
|
|
|
-CXX_COMPILER=clang++-3.6
|
|
|
|
-C_COMPILER=clang-3.6
|
2016-10-21 23:15:46 +03:00
|
|
|
- compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- llvm-toolchain-precise-3.7
|
|
|
|
packages:
|
|
|
|
- clang-3.7
|
2016-10-21 23:33:24 +03:00
|
|
|
env:
|
|
|
|
-CXX_COMPILER=clang++-3.7
|
|
|
|
-C_COMPILER=clang-3.7
|
2016-06-29 06:52:23 +04:00
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2016-06-29 06:55:12 +04:00
|
|
|
- cmake --version
|
2016-08-21 12:16:56 +03:00
|
|
|
- source /opt/qt55/bin/qt55-env.sh
|
2016-08-21 11:55:10 +03:00
|
|
|
- qmake -v
|
2016-10-21 23:33:31 +03:00
|
|
|
- cmake -DCMAKE_CXX_COMPILER=$CXX_COMPILER -DCMAKE_C_COMPILER=$C_COMPILER .. && make -j3
|
2016-08-21 12:16:56 +03:00
|
|
|
before_install:
|
|
|
|
- sudo add-apt-repository --yes ppa:beineri/opt-qt551-trusty
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
install:
|
2016-08-21 12:20:32 +03:00
|
|
|
- sudo apt-get -y install qt55tools qt55script qt55base
|
2016-06-29 06:57:06 +04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2016-06-29 07:01:34 +04:00
|
|
|
- ubuntu-toolchain-r-test
|
2016-06-29 06:57:06 +04:00
|
|
|
packages:
|
|
|
|
- cmake
|
2016-06-29 06:59:06 +04:00
|
|
|
- cmake-data
|
2016-06-29 07:25:23 +04:00
|
|
|
|
2016-06-29 07:10:23 +04:00
|
|
|
|