0
0
mirror of https://github.com/yse/easy_profiler.git synced 2025-01-13 16:17:55 +08:00
easy_profiler/.travis.yml
Sergey Yagovtsev 4bb5f45c70 travis build
2016-10-21 23:33:24 +03:00

60 lines
1.3 KiB
YAML

sudo: required
dist: trusty
language: cpp
cache: ccache
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env:
-CXX_COMPILER=g++-5
-C_COMPILER=gcc-5
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.6
packages:
- clang-3.6
env:
-CXX_COMPILER=clang++-3.6
-C_COMPILER=clang-3.6
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- clang-3.7
env:
-CXX_COMPILER=clang++-3.7
-C_COMPILER=clang-3.7
script:
- mkdir build
- cd build
- cmake --version
- source /opt/qt55/bin/qt55-env.sh
- qmake -v
- cmake -DCMAKE_CXX_COMPILER=$CXX_COMPILER -DCMAKE_C_COMPILER=$C_COMPILER . && make -j3
before_install:
- sudo add-apt-repository --yes ppa:beineri/opt-qt551-trusty
- sudo apt-get update -qq
install:
- sudo apt-get -y install qt55tools qt55script qt55base
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake
- cmake-data