Merge remote-tracking branch 'origin/topic/dnthayer/travis-ci'

* origin/topic/dnthayer/travis-ci:
  Add a .travis.yml file
This commit is contained in:
Robin Sommer 2018-02-05 15:07:20 -08:00
commit 678cf7fa6c
3 changed files with 35 additions and 1 deletions

30
.travis.yml Normal file
View 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

View file

@ -1,4 +1,8 @@
2.5-424 | 2018-02-05 15:07:20 -0800
* Add a .travis.yml. file (Daniel Thayer)
2.5-422 | 2018-02-05 16:28:25 -0600
* fix setup field handling in smb1_com_transaction_request messages

View file

@ -1 +1 @@
2.5-422
2.5-424