mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-26 08:01:51 +08:00
travis build
This commit is contained in:
parent
1753a32b5e
commit
4bb5f45c70
14
.travis.yml
14
.travis.yml
@ -11,7 +11,9 @@ matrix:
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- g++-5
|
||||
env: COMPILER=g++-5
|
||||
env:
|
||||
-CXX_COMPILER=g++-5
|
||||
-C_COMPILER=gcc-5
|
||||
- compiler: clang
|
||||
addons:
|
||||
apt:
|
||||
@ -20,7 +22,9 @@ matrix:
|
||||
- llvm-toolchain-precise-3.6
|
||||
packages:
|
||||
- clang-3.6
|
||||
env: COMPILER=clang++-3.6
|
||||
env:
|
||||
-CXX_COMPILER=clang++-3.6
|
||||
-C_COMPILER=clang-3.6
|
||||
- compiler: clang
|
||||
addons:
|
||||
apt:
|
||||
@ -29,14 +33,16 @@ matrix:
|
||||
- llvm-toolchain-precise-3.7
|
||||
packages:
|
||||
- clang-3.7
|
||||
env: COMPILER=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=$COMPILER .. && make -j3
|
||||
- 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user