0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-26 08:01:51 +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
language: cpp
cache: ccache
compiler:
- clang
- gcc
matrix:
include:
- 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:
- mkdir build
- cd build
@ -21,12 +46,8 @@ addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- cmake
- cmake-data
- gcc-5
- g++-5
- clang-3.7