Skip to content

Commit

Permalink
List of compilers for travis-ci extended.
Browse files Browse the repository at this point in the history
  • Loading branch information
eao197 committed Jan 9, 2020
1 parent ad503d9 commit ca3f95b
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ branches:
only:
- master
- 5.6-dev
- 5.7-dev
git:
depth: 1

Expand All @@ -27,6 +28,14 @@ matrix:
packages: ['g++-8']
env:
- MATRIX_EVAL="CXX_COMPILER=g++-8 C_COMPILER=gcc-8"
- os: linux
compiler: gcc
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-9']
env:
- MATRIX_EVAL="CXX_COMPILER=g++-9 C_COMPILER=gcc-9"

# clang on Linux
- os: linux
Expand All @@ -53,6 +62,17 @@ matrix:
packages: ['clang-8', "g++-7"]
env:
- MATRIX_EVAL="CXX_COMPILER=clang++-8 C_COMPILER=clang-8"
- os: linux
compiler: clang
addons:
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
- sourceline: 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
packages: ['clang-9', "g++-9"]
env:
- MATRIX_EVAL="CXX_COMPILER=clang++-9 C_COMPILER=clang-9"

# clang on macOS
- os: osx
Expand All @@ -65,6 +85,26 @@ matrix:
compiler: clang
env:
- MATRIX_EVAL="CXX_COMPILER=clang++ C_COMPILER=clang"
- os: osx
osx_image: xcode10.3
compiler: clang
env:
- MATRIX_EVAL="CXX_COMPILER=clang++ C_COMPILER=clang"
- os: osx
osx_image: xcode11.1
compiler: clang
env:
- MATRIX_EVAL="CXX_COMPILER=clang++ C_COMPILER=clang"
- os: osx
osx_image: xcode11.2
compiler: clang
env:
- MATRIX_EVAL="CXX_COMPILER=clang++ C_COMPILER=clang"
- os: osx
osx_image: xcode11.3
compiler: clang
env:
- MATRIX_EVAL="CXX_COMPILER=clang++ C_COMPILER=clang"

before_install:
- eval "${MATRIX_EVAL}"
Expand Down

0 comments on commit ca3f95b

Please sign in to comment.