0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-26 16:11:02 +08:00
easy_profiler/.travis.yml
Sergey Yagovtsev 0d8396b43a travis
2017-05-05 20:38:58 +03:00

52 lines
1.2 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
after_success:
- cd ../sample && $CXX_COMPILER -std=c++11 -O3 main_clock.cpp -o test_clock && ./test_clock
- ./build_express_test.sh
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