summaryrefslogtreecommitdiffstats
path: root/src/spdk/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/.travis.yml')
-rw-r--r--src/spdk/.travis.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/spdk/.travis.yml b/src/spdk/.travis.yml
new file mode 100644
index 00000000..9cebfc6e
--- /dev/null
+++ b/src/spdk/.travis.yml
@@ -0,0 +1,37 @@
+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:
+ irc:
+ channels:
+ - "chat.freenode.net#spdk"
+ template:
+ - "(%{repository_name}/%{branch}) %{commit_subject} (%{author})"
+ - "Diff URL: %{compare_url}"
+ on_success: always
+ on_failure: always