2015-11-04 18:02:40 +00:00
|
|
|
language: c
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
|
|
|
|
2017-03-17 20:40:33 +00:00
|
|
|
dist: trusty
|
2015-11-04 18:02:40 +00:00
|
|
|
sudo: false
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libcunit1-dev
|
2016-10-07 22:24:33 +00:00
|
|
|
- libaio-dev
|
|
|
|
- libssl-dev
|
2017-09-15 18:27:17 +00:00
|
|
|
- uuid-dev
|
2017-09-21 23:03:20 +00:00
|
|
|
- libnuma-dev
|
2016-10-07 22:24:33 +00:00
|
|
|
|
|
|
|
before_script:
|
2017-09-27 21:23:45 +00:00
|
|
|
- git submodule update --init
|
2017-02-27 17:37:53 +00:00
|
|
|
- export MAKEFLAGS="-j$(nproc)"
|
2015-11-04 18:02:40 +00:00
|
|
|
|
2017-01-24 22:46:33 +00:00
|
|
|
script:
|
2017-04-24 22:44:42 +00:00
|
|
|
- ./scripts/check_format.sh
|
2017-05-17 23:44:20 +00:00
|
|
|
- ./configure --enable-werror
|
|
|
|
- make
|
2018-02-27 23:07:35 +00:00
|
|
|
- ./test/unit/unittest.sh
|
2018-03-13 21:23:42 +00:00
|
|
|
|
|
|
|
notifications:
|
2019-02-26 19:40:31 +00:00
|
|
|
if: repository_slug = spdk/spdk
|
2018-03-13 21:23:42 +00:00
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "chat.freenode.net#spdk"
|
|
|
|
template:
|
2018-03-16 22:30:03 +00:00
|
|
|
- "(%{repository_name}/%{branch}) %{commit_subject} (%{author})"
|
|
|
|
- "Diff URL: %{compare_url}"
|
2018-03-13 21:23:42 +00:00
|
|
|
on_success: always
|
|
|
|
on_failure: always
|