mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Add a .travis.yml file
This commit is contained in:
parent
884f47a994
commit
97160b15da
1 changed files with 30 additions and 0 deletions
30
.travis.yml
Normal file
30
.travis.yml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
language: cpp
|
||||||
|
compiler:
|
||||||
|
- clang
|
||||||
|
- gcc
|
||||||
|
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- ubuntu-toolchain-r-test
|
||||||
|
packages:
|
||||||
|
- bison
|
||||||
|
- cmake
|
||||||
|
- flex
|
||||||
|
- libpcap-dev
|
||||||
|
- libssl-dev
|
||||||
|
- python-dev
|
||||||
|
- swig
|
||||||
|
- zlib1g-dev
|
||||||
|
|
||||||
|
install: ./configure && make -j 4
|
||||||
|
|
||||||
|
script:
|
||||||
|
- make -C testing/btest btest-verbose
|
||||||
|
- make -C testing/external init && make -C testing/external
|
||||||
|
|
||||||
|
after_failure:
|
||||||
|
# Output each diag.log that contains failed test results.
|
||||||
|
- for i in testing/btest/diag.log testing/external/bro-testing/diag.log; do
|
||||||
|
grep -qs '... failed$' $i && cat $i ;
|
||||||
|
done
|
Loading…
Add table
Add a link
Reference in a new issue