0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-27 00:31:02 +08:00

Set modern compiler for travis

This commit is contained in:
Sergey Yagovtsev 2016-10-21 23:15:46 +03:00
parent 49091c73ca
commit 20b28cd7a9

View File

@ -2,9 +2,34 @@ sudo: required
dist: trusty dist: trusty
language: cpp language: cpp
cache: ccache cache: ccache
compiler: matrix:
- clang include:
- gcc - compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env: COMPILER=g++-5
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.6
packages:
- clang-3.6
env: COMPILER=clang++-3.6
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- clang-3.7
env: COMPILER=clang++-3.7
script: script:
- mkdir build - mkdir build
- cd build - cd build
@ -21,12 +46,8 @@ addons:
apt: apt:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages: packages:
- cmake - cmake
- cmake-data - cmake-data
- gcc-5
- g++-5
- clang-3.7