]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
tests: Add Travis CI yaml configuration file
authorTom Hromatka <tom.hromatka@oracle.com>
Thu, 19 Sep 2019 20:57:29 +0000 (14:57 -0600)
committerDhaval Giani <dhaval.giani@oracle.com>
Tue, 8 Oct 2019 17:51:22 +0000 (10:51 -0700)
This commit adds the Travis CI yaml configuration file that
will automatically invoke continuous integration for the
libcgroup project.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..055f375
--- /dev/null
@@ -0,0 +1,47 @@
+# Travis CI configuration for libcgroup
+#
+# Copyright (c) 2019 Oracle and/or its affiliates.  All rights reserved.
+# Author: Tom Hromatka <tom.hromatka@oracle.com>
+#
+
+#
+# This library is free software; you can redistribute it and/or modify it
+# under the terms of version 2.1 of the GNU Lesser General Public License as
+# published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+# for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this library; if not, see <http://www.gnu.org/licenses>.
+#
+
+dist: bionic
+sudo: false
+
+git:
+  submodules: false
+
+notifications:
+  email:
+    on_success: always
+    on_failure: always
+
+language: c
+compiler:
+  - gcc
+
+addons:
+  apt:
+    packages:
+      - lxc
+
+# perform the build and fail immediately on error
+install:
+  - ./bootstrap.sh
+  - make
+
+script:
+  - make check