fix travis: OSX and linux release. also force xenial
Force xenial just in case travis changes the default to bionic
without us noticing
sudo:
- false
+dist: xenial
+
language:
- cpp
@@ -26,33 +28,16 @@ jobs:
before_install:
- brew install ninja
- # Clang 9.0
- - os: linux
- compiler: clang
- env: C_COMPILER=clang-9 CXX_COMPILER=clang++-9
- addons:
- apt:
- sources:
- - ubuntu-toolchain-r-test
- - llvm-toolchain-xenial-9
- packages:
- - clang-9
- - ninja-build
-
- # Clang 10.0
+ # Linux Clang
- os: linux
compiler: clang
- env: C_COMPILER=clang-10 CXX_COMPILER=clang++-10
+ env: C_COMPILER=clang CXX_COMPILER=clang++
addons:
apt:
- sources:
- - ubuntu-toolchain-r-test
- - llvm-toolchain-xenial-10
packages:
- - clang-10
- ninja-build
- # GCC 4.8
+ # Linux GCC 4.8
- os: linux
compiler: gcc
env: C_COMPILER=gcc-4.8 CXX_COMPILER=g++-4.8
@@ -65,7 +50,7 @@ jobs:
- g++-4.8
- ninja-build
- # GCC 5
+ # Linux GCC 5
- os: linux
compiler: gcc
env: C_COMPILER=gcc-5 CXX_COMPILER=g++-5
@@ -78,7 +63,7 @@ jobs:
- g++-5
- ninja-build
- # GCC 6
+ # Linux GCC 6
- os: linux
compiler: gcc
env: C_COMPILER=gcc-6 CXX_COMPILER=g++-6
@@ -114,15 +99,15 @@ jobs:
# Linux Release
- os: linux
compiler: gcc
- env: C_COMPILER=gcc-6 CXX_COMPILER=g++-6
+ env: C_COMPILER=gcc-5 CXX_COMPILER=g++-5
if: tag IS present
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- - gcc-6
- - g++-6
+ - gcc-5
+ - g++-5
- ninja-build
deploy:
provider: releases
