mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-02-21 11:21:24 +00:00
TravisCI: execute clang-tidy-8
This commit is contained in:
parent
e3ec7e8c86
commit
5167ab9967
1 changed files with 7 additions and 3 deletions
10
.travis.yml
10
.travis.yml
|
@ -47,15 +47,19 @@ matrix:
|
|||
|
||||
- os: linux
|
||||
env:
|
||||
- MATRIX_EVAL="CC=clang-8 && CXX=clang++-8 && sudo apt-get install clang-8"
|
||||
- MATRIX_EVAL="CC=clang-8 && CXX=clang++-8 && sudo rm -f /usr/local/clang-7.0.0/bin/clang-tidy && sudo ln -s /usr/bin/clang-tidy-8 /usr/bin/clang-tidy && sudo apt-get install clang-8 clang-tidy-8"
|
||||
- CMAKE_FLAGS="-Denable-profiling=1 -DCMAKE_C_FLAGS_DEBUG=-fuse-ld=gold"
|
||||
|
||||
before_install:
|
||||
- eval "${MATRIX_EVAL}"
|
||||
|
||||
- which clang-tidy
|
||||
- ls -la `which clang-tidy`
|
||||
- echo $PATH
|
||||
|
||||
before_script:
|
||||
- mkdir $HOME/fluidsynth_install/
|
||||
- mkdir build && cd build
|
||||
|
||||
|
||||
script:
|
||||
- cmake -DCMAKE_INSTALL_PREFIX=$HOME/fluidsynth_install ${CMAKE_FLAGS} -Denable-portaudio=1 -Denable-ladspa=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_VERBOSE_MAKEFILE=1 -DNO_GUI=1 ..
|
||||
- make -j4
|
||||
|
|
Loading…
Reference in a new issue