This is an automated email from the git hooks/post-receive script.
teigland pushed a commit to branch master
in repository sanlock.
commit 6e6838a9f3a2d206a6ba1a242690b4cddfa448cf
Author: Nir Soffer <nsoffer(a)redhat.com>
Date: Sat Jan 6 03:21:05 2018 +0200
Add travis CI integration
Add .travis.yml configuration, allowing anyone to run sanlock tests in
travis.
To enable to tests in travis:
- Fork sanlock on github
- Enable Travis-CI service
- Visit
https://travis-ci.org/profile and enable the tests for your
username/sanlock
After this setup, each time you push to your sanlock fork, travis will
run the tests with your patch using travis standard build environment
(Ubuntu Trusty).
Here is an example travis build on my sanlock fork:
https://travis-ci.org/nirs/sanlock/builds/325674436
Since sanlock is developed mainly on Fedora, running the tests on Ubuntu
ensure that we are compatible with Debian based distros, and will reveal
portability issues quickly.
Signed-off-by: Nir Soffer <nsoffer(a)redhat.com>
---
.travis.yml | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..883840b
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,13 @@
+language: python
+
+before_install:
+ - sudo apt-get -qq update
+ - sudo apt-get install -y make gcc libaio-dev libblkid-dev
+
+env:
+ - LD_LIBRARY_PATH=$PWD/src:$PWD/wdmd
+
+script:
+ - make -C wdmd
+ - make -C src
+ - pytest
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.