From f130e3fac5cc98c4c7f8e65b10289f54dcf87c86 Mon Sep 17 00:00:00 2001 From: Tom Hromatka Date: Thu, 19 Sep 2019 14:57:29 -0600 Subject: [PATCH] tests: Add Travis CI yaml configuration file This commit adds the Travis CI yaml configuration file that will automatically invoke continuous integration for the libcgroup project. Signed-off-by: Tom Hromatka Signed-off-by: Dhaval Giani --- .travis.yml | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..055f375a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,47 @@ +# Travis CI configuration for libcgroup +# +# Copyright (c) 2019 Oracle and/or its affiliates. All rights reserved. +# Author: Tom Hromatka +# + +# +# 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 . +# + +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 -- 2.47.2