Skip to content

Commit

Permalink
travis: Remove support for Travis CI.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
igsilya committed Nov 26, 2020
1 parent a29cda9 commit 7bcf934
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 103 deletions.
60 changes: 0 additions & 60 deletions .travis.yml

This file was deleted.

7 changes: 3 additions & 4 deletions Documentation/internals/contributing/submitting-patches.rst
Expand Up @@ -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
-------------
Expand Down
44 changes: 8 additions & 36 deletions Documentation/topics/testing.rst
Expand Up @@ -372,45 +372,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
------
Expand Down
1 change: 0 additions & 1 deletion Makefile.am
Expand Up @@ -82,7 +82,6 @@ EXTRA_DIST = \
.ci/osx-prepare.sh \
.cirrus.yml \
.github/workflows/build-and-test.yml \
.travis.yml \
appveyor.yml \
boot.sh \
poc/builders/Vagrantfile \
Expand Down
2 changes: 0 additions & 2 deletions README.rst
Expand Up @@ -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
.. image:: https://ci.appveyor.com/api/projects/status/github/openvswitch/ovs?branch=master&svg=true&retina=true
:target: https://ci.appveyor.com/project/blp/ovs/history

Expand Down

0 comments on commit 7bcf934

Please sign in to comment.