0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-27 00:31:02 +08:00
easy_profiler/.travis.yml
2016-11-13 14:32:02 +03:00

49 lines
1.0 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.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 qt55svg
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake
- cmake-data