numam-spdk/.travis.yml
Jim Harris de68dfee47 .travis.yml: only notify IRC for spdk/spdk repository
This avoids updates to forks of the main spdk repository
on GitHub from posting notifications to the #spdk channel.

I think this syntax should work, but I'm exactly sure
how to test outside of merging this patch, confirming
that spdk/spdk patches still result in notifications,
and creating an spdk fork and confirming there are no
notifications when it is updated.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Ie5854d987b7e562abb73a36fd3ee10c43f740b5f

Reviewed-on: https://review.gerrithub.io/c/446317
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
2019-02-27 07:17:22 +00:00

39 lines
654 B
YAML

language: c
compiler:
- gcc
- clang
dist: trusty
sudo: false
addons:
apt:
packages:
- libcunit1-dev
- libaio-dev
- libssl-dev
- uuid-dev
- libnuma-dev
before_script:
- git submodule update --init
- export MAKEFLAGS="-j$(nproc)"
script:
- ./scripts/check_format.sh
- ./configure --enable-werror
- make
- ./test/unit/unittest.sh
notifications:
if: repository_slug = spdk/spdk
irc:
channels:
- "chat.freenode.net#spdk"
template:
- "(%{repository_name}/%{branch}) %{commit_subject} (%{author})"
- "Diff URL: %{compare_url}"
on_success: always
on_failure: always