mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-27 00:21:11 +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
|
- ubuntu-toolchain-r-test
|
||||||
packages:
|
packages:
|
||||||
- g++-5
|
- g++-5
|
||||||
env: COMPILER=g++-5
|
env:
|
||||||
|
-CXX_COMPILER=g++-5
|
||||||
|
-C_COMPILER=gcc-5
|
||||||
- compiler: clang
|
- compiler: clang
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
@ -20,7 +22,9 @@ matrix:
|
|||||||
- llvm-toolchain-precise-3.6
|
- llvm-toolchain-precise-3.6
|
||||||
packages:
|
packages:
|
||||||
- clang-3.6
|
- clang-3.6
|
||||||
env: COMPILER=clang++-3.6
|
env:
|
||||||
|
-CXX_COMPILER=clang++-3.6
|
||||||
|
-C_COMPILER=clang-3.6
|
||||||
- compiler: clang
|
- compiler: clang
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
@ -29,14 +33,16 @@ matrix:
|
|||||||
- llvm-toolchain-precise-3.7
|
- llvm-toolchain-precise-3.7
|
||||||
packages:
|
packages:
|
||||||
- clang-3.7
|
- clang-3.7
|
||||||
env: COMPILER=clang++-3.7
|
env:
|
||||||
|
-CXX_COMPILER=clang++-3.7
|
||||||
|
-C_COMPILER=clang-3.7
|
||||||
script:
|
script:
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- cmake --version
|
- cmake --version
|
||||||
- source /opt/qt55/bin/qt55-env.sh
|
- source /opt/qt55/bin/qt55-env.sh
|
||||||
- qmake -v
|
- qmake -v
|
||||||
- cmake -DCMAKE_CXX_COMPILER=$COMPILER .. && make -j3
|
- cmake -DCMAKE_CXX_COMPILER=$CXX_COMPILER -DCMAKE_C_COMPILER=$C_COMPILER . && make -j3
|
||||||
before_install:
|
before_install:
|
||||||
- sudo add-apt-repository --yes ppa:beineri/opt-qt551-trusty
|
- sudo add-apt-repository --yes ppa:beineri/opt-qt551-trusty
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
|
Loading…
x
Reference in New Issue
Block a user