enable clang-8 on travis

master
Andre Puschmann 5 years ago
parent 87a0a25c18
commit 4433c238e3

@ -6,6 +6,25 @@ before_script:
- sudo apt-get install -qq build-essential cmake libfftw3-dev libmbedtls-dev libpcsclite-dev libboost-program-options-dev libconfig++-dev libsctp-dev colordiff - sudo apt-get install -qq build-essential cmake libfftw3-dev libmbedtls-dev libpcsclite-dev libboost-program-options-dev libconfig++-dev libsctp-dev colordiff
language: cpp language: cpp
matrix:
include:
# works on Precise and Trusty
- os: linux
addons:
apt:
sources:
- llvm-toolchain-trusty-8
- key_url: 'http://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- clang-format-8
- clang-8
env:
- MATRIX_EVAL="CC=clang-8 && CXX=clang++-8"
before_install:
- eval "${MATRIX_EVAL}"
compiler: compiler:
- gcc - gcc
- clang - clang
@ -17,6 +36,7 @@ addons:
- key_url: 'http://apt.llvm.org/llvm-snapshot.gpg.key' - key_url: 'http://apt.llvm.org/llvm-snapshot.gpg.key'
packages: packages:
- clang-format-8 - clang-format-8
- clang-8
script: script:
- sudo ln -s /usr/bin/clang-format-diff-8 /usr/bin/clang-format-diff - sudo ln -s /usr/bin/clang-format-diff-8 /usr/bin/clang-format-diff

Loading…
Cancel
Save