diff options
author | Ilya Maximets <i.maximets@ovn.org> | 2020-11-25 17:28:20 +0100 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2020-11-26 19:09:01 +0100 |
commit | 1ab60054116b4b0204d63e65bd3633741c2532de (patch) | |
tree | aff0bd8081763b034263337a4e52bb8a99befeb5 | |
parent | 3441509e57db360c34f605c7d912ef2aeb3be67b (diff) | |
download | openvswitch-1ab60054116b4b0204d63e65bd3633741c2532de.tar.gz |
travis: Remove support for Travis CI.
All CI jobs are covered by GitHub Actions now.
What happened to Travis CI:
https://mail.openvswitch.org/pipermail/ovs-dev/2020-November/377773.html
Acked-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
-rw-r--r-- | .travis.yml | 50 | ||||
-rw-r--r-- | Documentation/internals/contributing/submitting-patches.rst | 7 | ||||
-rw-r--r-- | Documentation/topics/testing.rst | 44 | ||||
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | README.rst | 2 |
5 files changed, 11 insertions, 93 deletions
diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 612114761..000000000 --- a/.travis.yml +++ /dev/null @@ -1,50 +0,0 @@ -language: c -compiler: - - gcc - - clang - -os: - - linux - -addons: - apt: - packages: - - bc - - gcc-multilib - - libssl-dev - - llvm-dev - - libjemalloc1 - - libjemalloc-dev - - python-sphinx - -before_install: ./.ci/${TRAVIS_OS_NAME}-prepare.sh - -before_script: export PATH=$PATH:$HOME/bin - -env: - - OPTS="--disable-ssl" - - TESTSUITE=1 KERNEL=3.16.46 - - TESTSUITE=1 OPTS="--enable-shared" - - BUILD_ENV="-m32" OPTS="--disable-ssl" - - KERNEL=3.16.46 DPDK=1 - - KERNEL=3.16.46 DPDK=1 OPTS="--enable-shared" - - KERNEL=4.12.2 - - KERNEL=4.11.11 - - KERNEL=4.9.149 - - KERNEL=4.4.77 - - KERNEL=4.1.42 - - KERNEL=3.10.107 - - TESTSUITE=1 LIBS=-ljemalloc - -matrix: - include: - - os: osx - compiler: clang - env: OPTS="--disable-ssl" - -script: ./.ci/${TRAVIS_OS_NAME}-build.sh $OPTS - -notifications: - email: - recipients: - - ovs-build@openvswitch.org diff --git a/Documentation/internals/contributing/submitting-patches.rst b/Documentation/internals/contributing/submitting-patches.rst index 9859f68ce..2d5020fa3 100644 --- a/Documentation/internals/contributing/submitting-patches.rst +++ b/Documentation/internals/contributing/submitting-patches.rst @@ -68,10 +68,9 @@ Testing is also important: feature. A bug fix patch should preferably add a test that would fail if the bug recurs. -If you are using GitHub, then you may utilize the travis-ci.org and the GitHub -Actions CI build systems. They will run some of the above tests automatically -when you push changes to your repository. See the "Continuous Integration with -Travis-CI" in :doc:`/topics/testing` for details on how to set it up. +If you are using GitHub, then you may utilize the GitHub Actions CI build +system. It will run some of the above tests automatically when you push +changes to your repository. Email Subject ------------- diff --git a/Documentation/topics/testing.rst b/Documentation/topics/testing.rst index 06f99aded..286d0ec5d 100644 --- a/Documentation/topics/testing.rst +++ b/Documentation/topics/testing.rst @@ -336,45 +336,17 @@ You should invoke scan-view to view analysis results. The last line of output from ``clang-analyze`` will list the command (containing results directory) that you should invoke to view the results on a browser. -Continuous Integration with Travis CI -------------------------------------- +Continuous Integration with GitHub Actions +------------------------------------------ -A .travis.yml file is provided to automatically build Open vSwitch with various -build configurations and run the testsuite using Travis CI. Builds will be -performed with gcc, sparse and clang with the -Werror compiler flag included, -therefore the build will fail if a new warning has been introduced. +A ``.github/workflows/*.yml`` files provided to automatically build +Open vSwitch with various build configurations and run the testsuite using +GitHub Actions. Builds will be performed with gcc, sparse and clang with the +-Werror compiler flag included, therefore the build will fail if a new warning +has been introduced. The CI build is triggered via git push (regardless of the specific branch) or -pull request against any Open vSwitch GitHub repository that is linked to -travis-ci. - -Instructions to setup travis-ci for your GitHub repository: - -1. Go to https://travis-ci.org/ and sign in using your GitHub ID. -2. Go to the "Repositories" tab and enable the ovs repository. You may disable - builds for pushes or pull requests. -3. In order to avoid forks sending build failures to the upstream mailing list, - the notification email recipient is encrypted. If you want to receive email - notification for build failures, replace the the encrypted string: - - 1. Install the travis-ci CLI (Requires ruby >=2.0): gem install travis - 2. In your Open vSwitch repository: travis encrypt mylist@mydomain.org - 3. Add/replace the notifications section in .travis.yml and fill in the - secure string as returned by travis encrypt:: - - notifications: - email: - recipients: - - secure: "....." - - .. note:: - You may remove/omit the notifications section to fall back to default - notification behaviour which is to send an email directly to the author and - committer of the failing commit. Note that the email is only sent if the - author/committer have commit rights for the particular GitHub repository. - -4. Pushing a commit to the repository which breaks the build or the - testsuite will now trigger a email sent to mylist@mydomain.org +pull request against any Open vSwitch GitHub repository. vsperf ------ diff --git a/Makefile.am b/Makefile.am index 47b784253..57d10c413 100644 --- a/Makefile.am +++ b/Makefile.am @@ -79,7 +79,6 @@ EXTRA_DIST = \ .ci/osx-build.sh \ .ci/osx-prepare.sh \ .github/workflows/build-and-test.yml \ - .travis.yml \ appveyor.yml \ boot.sh \ build-aux/cccl \ diff --git a/README.rst b/README.rst index a8610e989..3dace9664 100644 --- a/README.rst +++ b/README.rst @@ -8,8 +8,6 @@ Open vSwitch .. image:: https://github.com/openvswitch/ovs/workflows/Build%20and%20Test/badge.svg :target: https://github.com/openvswitch/ovs/actions -.. image:: https://travis-ci.org/openvswitch/ovs.png - :target: https://travis-ci.org/openvswitch/ovs What is Open vSwitch? --------------------- |