travis: fix issue with installing clang from trusty llvm PPA

master
Andre Puschmann 5 years ago
parent 9d529ba0d5
commit 3c9778e786

@ -3,7 +3,7 @@ sudo: required
before_script: before_script:
- sudo apt-get -qq update - sudo apt-get -qq update
- sudo apt-get install -qq build-essential cmake libfftw3-dev libmbedtls-dev libpcsclite-dev libboost-program-options-dev libconfig++-dev libsctp-dev colordiff ninja-build - sudo apt-get install -qq build-essential cmake libfftw3-dev libmbedtls-dev libpcsclite-dev libboost-program-options-dev libconfig++-dev libsctp-dev colordiff ninja-build clang-format-8
language: cpp language: cpp
@ -11,15 +11,6 @@ compiler:
- gcc - gcc
- clang - clang
addons:
apt:
sources:
- llvm-toolchain-trusty-8
- key_url: 'http://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- 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
- git remote set-branches --add origin master - git remote set-branches --add origin master
@ -37,4 +28,4 @@ script:
- cmake -DENABLE_5GNR=True -DENABLE_TTCN3=True -DRF_FOUND=True -G Ninja .. - cmake -DENABLE_5GNR=True -DENABLE_TTCN3=True -DRF_FOUND=True -G Ninja ..
- ninja - ninja
- ninja test - ninja test
- sudo ninja install - sudo ninja install
Loading…
Cancel
Save