summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-09-21 20:50:24 -0600
committerJens Axboe <axboe@kernel.dk>2019-09-21 20:50:24 -0600
commit95b3b9bec78fcfb7b1a3dcecedccab5becb1e416 (patch)
tree67e6cb6e3777c5b04be7c77fd422002f1b55b567 /.travis.yml
parentad551e647009d1b0cfcd2e061dff1e52eee178f8 (diff)
downloadliburing-95b3b9bec78fcfb7b1a3dcecedccab5becb1e416.tar.gz
liburing-95b3b9bec78fcfb7b1a3dcecedccab5becb1e416.tar.bz2
Add basic travis test file
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..7ed15c7
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,22 @@
+language: c
+os:
+ - linux
+compiler:
+ - clang
+ - gcc
+env:
+ matrix:
+ - BUILD_ARCH="x86"
+ - BUILD_ARCH="x86_64"
+ global:
+ - MAKEFLAGS="-j 2"
+matrix:
+ exclude:
+ - os: linux
+ compiler: clang
+ env: BUILD_ARCH="x86" # Only do the gcc x86 build to reduce clutter
+before_install:
+ - EXTRA_CFLAGS="-Werror"
+script:
+ - ./configure && make
+ - make runtests