From: Tom Hromatka Date: Tue, 15 Dec 2020 20:45:16 +0000 (-0700) Subject: travis: Disable Travis CI X-Git-Tag: v2.0.rc1~18^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5755bfed16879454cf3c23f1d1da2df127117ad;p=thirdparty%2Flibcgroup.git travis: Disable Travis CI Disable the Travis CI build by deleting the .travis.yml file. Subsequent commits will transition to using Github Actions instead. Signed-off-by: Tom Hromatka --- diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 90524259..00000000 --- a/.travis.yml +++ /dev/null @@ -1,95 +0,0 @@ -# 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 . -# - -jobs: - include: - # test cgroup v1 on Ubuntu 18.04 - - name: "Cgroup v1 Job" - stage: test - os: linux - dist: bionic - sudo: false - arch: amd64 - before_install: - # see https://github.com/eddyxu/cpp-coveralls - - 'pip install --user cpp-coveralls' - - # test a mixed system on Ubuntu 20.04 - # cgroup v1 controllers - blkio, cpu, cpuacct, devices, io, freezer, - # hugetlb, memory, net_cls, net_prio, rdma - # cgroup v2 controllers - cpuset - - name: "Cgroup v2 Job" - stage: test - os: linux - dist: focal - sudo: required - virt: vm - arch: amd64 - before_install: - # unmount the cpuset v1 controller. This should make it available - # in the v2 hierarchy after all references have been freed - - 'sudo umount /sys/fs/cgroup/cpuset' - # wait for the references to the cpuset controller to go away - - 'sleep 30' - - 'cat /sys/fs/cgroup/unified/cgroup.controllers' - - 'sudo su -c "echo +cpuset > /sys/fs/cgroup/unified/cgroup.subtree_control"' - - 'cat /sys/fs/cgroup/unified/cgroup.subtree_control' - - # see https://github.com/eddyxu/cpp-coveralls - - 'pip install --user cpp-coveralls' - -git: - submodules: false - -notifications: - webhooks: https://coveralls.io/webhook?repo_token=xarVjTxWrquIbY9thhmlIY4qez6bL4zEHUr2E - email: - on_success: always - on_failure: always - -language: c -compiler: - - gcc - -addons: - apt: - packages: - - lcov - - lxc - - lxd - -# perform the build and fail immediately on error -install: - - ./bootstrap.sh - - make clean - # enable code coverage - - CFLAGS="$CFLAGS -g -O0" ./configure --sysconfdir=/etc --localstatedir=/var --enable-code-coverage - - make - -script: - - make check - -after_failure: - - cat tests/ftests/test-suite.log - - cat tests/gunit/test-suite.log - -after_success: - - coverage combine - - COVERALLS_PARALLEL=true coveralls --exclude tests --exclude googletest --exclude samples --exclude src/lex.l --exclude parse.y --gcov-options '\-lp'