Skip to content

Commit

Permalink
Feature #625 - Travis using clang-tools-11
Browse files Browse the repository at this point in the history
  • Loading branch information
fklassen committed Jun 28, 2021
1 parent 9c55571 commit 9e8a31a
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sudo: required
os: linux
dist: focal
compiler: gcc
compiler: clang-11
language: c


Expand All @@ -13,29 +13,28 @@ addons:
matrix:
include:
- os: linux
dist: focal
compiler: gcc
addons:
apt:
packages:
- libpcap-dev
- autogen
- os: linux
dist: trusty
- clang-tools-11
- os: linuxal
compiler: gcc
env: CI_BUILD_PREFIX=scan-build-9.3
env: CI_BUILD_PREFIX=scan-build-11
addons:
apt:
packages:
- libpcap-dev
- autogen
- clang-tools-11

before_script:
- git pull --tags

script:
- autoreconf -iv > build.log 2>&1 || (cat build.log && exit 1)
- ${CI_BUILD_PREFIX} ./configure --disable-local-libopts --enable-asan > build.log 2>&1 || (cat build.log && exit 1)
- ${CI_BUILD_PREFIX} ./configure --disable-local-libopts --enable-asan --with-testnic=ens4 > build.log 2>&1 || (cat build.log && exit 1)
- ${CI_BUILD_PREFIX} make > build.log 2>&1 || (cat build.log && exit 1)
- make dist > build.log 2>&1 || (cat build.log && exit 1)
- sudo make test || (cat test/test.log && exit 1)

0 comments on commit 9e8a31a

Please sign in to comment.