0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-26 16:11:02 +08:00
easy_profiler/.travis.yml

50 lines
1.1 KiB
YAML
Raw Normal View History

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:45:37 +03:00
# - 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
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
2017-05-05 19:55:35 +03:00
- cd ../sample && $CXX_COMPILER -std=c++11 -O3 main_clock.cpp -o test_clock && ./test_clock
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-11-13 14:32:02 +03:00
- sudo apt-get -y install qt55tools qt55script qt55base qt55svg
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:10:23 +04:00