mirror of
https://github.com/gelldur/EventBus.git
synced 2024-12-27 12:21:02 +08:00
Update Travis CI script
This commit is contained in:
parent
d054e5c917
commit
2bbee03c76
63
.travis.yml
63
.travis.yml
@ -1,37 +1,48 @@
|
||||
dist: trusty
|
||||
sudo: require
|
||||
language: cpp
|
||||
osx_image: xcode9.4
|
||||
sudo: false
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
compiler:
|
||||
- gcc
|
||||
- clang
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- llvm-toolchain-precise-3.9
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- clang-3.9
|
||||
- gcc-6
|
||||
- g++-6
|
||||
- cmake
|
||||
common_sources: &all_sources
|
||||
- ubuntu-toolchain-r-test
|
||||
- llvm-toolchain-trusty
|
||||
- llvm-toolchain-trusty-3.9
|
||||
- llvm-toolchain-trusty-4.0
|
||||
- llvm-toolchain-trusty-5.0
|
||||
- llvm-toolchain-trusty-6.0
|
||||
|
||||
matrix:
|
||||
exclude: # On OSX g++ is a symlink to clang++ by default
|
||||
- os: osx
|
||||
compiler: gcc
|
||||
include:
|
||||
- compiler: gcc
|
||||
env: COMPILER=g++-6
|
||||
|
||||
- compiler: clang
|
||||
env: COMPILER=clang++-3.9
|
||||
include:
|
||||
- os: linux
|
||||
compiler: gcc
|
||||
addons:
|
||||
apt:
|
||||
sources: *all_sources
|
||||
packages: ['gcc-7', 'g++-7', 'cmake', 'catch']
|
||||
env: COMPILER='g++-7'
|
||||
|
||||
- os: linux
|
||||
compiler: clang
|
||||
addons:
|
||||
apt:
|
||||
sources: *all_sources
|
||||
packages: ['clang-3.9', 'cmake', 'catch']
|
||||
env: COMPILER='clang++-3.9'
|
||||
|
||||
- os: linux
|
||||
compiler: clang
|
||||
addons:
|
||||
apt:
|
||||
sources: *all_sources
|
||||
packages: ['clang-6.0', 'libstdc++-6-dev', 'cmake', 'catch']
|
||||
env: COMPILER='clang++-6.0'
|
||||
|
||||
# - os: osx
|
||||
# osx_image: xcode9.4
|
||||
# compiler: clang
|
||||
# env: COMPILER='clang++'
|
||||
|
||||
|
||||
before_install:
|
||||
|
Loading…
x
Reference in New Issue
Block a user