.travis.yml: Add to repository

This change makes it possible to tell Travis CI to trigger a build after
every push and every time a new merge request is submitted.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
This commit is contained in:
Bart Van Assche
2020-02-24 18:33:15 -08:00
parent 69c4783d2d
commit 6ea30aea50
2 changed files with 28 additions and 0 deletions

21
.travis.yml Normal file
View File

@@ -0,0 +1,21 @@
language: c
os:
- linux
- osx
addons:
apt:
packages:
- dpkg
- gcc
- libcunit1-dev
- libibverbs-dev
- librdmacm-dev
- make
- pkg-config
sudo: required
script:
ci/build.sh

7
ci/build.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
./autogen.sh &&
./configure --enable-manpages --enable-test-tool --enable-tests \
--enable-examples &&
make &&
sudo make install