From d8cf8de99bf2f38c3d18d5c9371ee98d40fe82bb Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Tue, 10 Nov 2020 19:03:09 +0100 Subject: [PATCH] Remove Travis Travis is gone. We have Github Actions set up now, which should be okay. Fixes #7447. --- .travis.yml | 91 ------------------------------------------------ CONTRIBUTING.rst | 34 ++---------------- README.rst | 4 +-- 3 files changed, 4 insertions(+), 125 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2f7086a5a..000000000 --- a/.travis.yml +++ /dev/null @@ -1,91 +0,0 @@ -language: cpp -dist: bionic - -matrix: - include: - - os: linux - compiler: gcc - addons: - apt: - packages: - - gettext - - libncurses5-dev - - libpcre2-dev - - python3 - - python3-pip - before_install: - - sudo pip3 install pexpect - env: - # Some warnings upgraded to errors to match Open Build Service platforms - - CXXFLAGS="-Werror=address -Werror=return-type" - - os: linux - compiler: gcc - addons: - apt: - packages: # Don't use libpcre2-dev here, so that one build uses the vendored code - - gettext - - lib32ncurses5-dev - - g++-multilib - - python3 - - python3-pip - before_install: - - sudo pip3 install pexpect - env: - - CXXFLAGS="-m32 -Werror=address -Werror=return-type" CFLAGS="-m32" - - os: linux - compiler: clang - env: - - CXXFLAGS="-fno-omit-frame-pointer -fsanitize=undefined -fsanitize=address" - - ASAN_OPTIONS=check_initialization_order=1:detect_stack_use_after_return=1:detect_leaks=1 - - UBSAN_OPTIONS=print_stacktrace=1:report_error_type=1:suppressions=$TRAVIS_BUILD_DIR/build_tools/ubsan.blacklist - before_install: - - sudo pip3 install pexpect - addons: - apt: - packages: - - gettext - - libncurses5-dev - - libpcre2-dev - - python - - python3 - - python3-pip - - os: linux - compiler: clang - env: - - CXXFLAGS="-fsanitize=thread" - before_install: - - sudo pip3 install pexpect - addons: - apt: - packages: - - gettext - - libncurses5-dev - - libpcre2-dev - - python3 - - python3-pip - - os: osx - before_install: - - sudo pip3 install pexpect - fast_finish: true - -script: - - cmake -DCMAKE_INSTALL_PREFIX=$HOME/prefix . || cat CMakeFiles/CMakeError.log && - make -j2 && - make install && - make test SHOW_INTERACTIVE_LOG=1 - -notifications: - # Some items are encrypted so that notifications from other repositories - # don't flood the official repositories. - irc: - channels: - #- "irc.oftc.net#fish" - secure: "eRk9KGZ5+mrlD2SoI8yg2Sp8OYrh7YPyGe3WCDQUwTnNgNDII34rbM9a6UOA/l7AeWSNY8joLq5xVLCU4wpFgUcJ11SYIpMnLosZK29OW4ubDOHmdBDvJ971rLgAVG9cXngZtIxEVVxN/jnS1Qr8GKZx4DjkaTMgz1pemb4WxCc=" - template: - - "%{repository}#%{build_number} (%{commit} on %{branch} by %{author}): %{message} Details at %{build_url}" - use_notice: true - skip_join: true - webhooks: - urls: - #- https://webhooks.gitter.im/e/61821cec3015bf0f8bb1 - secure: fPfOmxnC3MCsfR1oocVFeWLawGcRZkn+8fNHlSOeZ+SqqoZfcCHgQTvQ22TqmVl1yvkXbNlaXjo6dbVzTOAh7r7H0bRMEKBVh3dQS7wqjB1sKivpXd8PAS3BTj5MQpGeJzdHnDuwVlwDktGtfHfhGeq1Go/4IosOq8u+6RTe28g= diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index bbbb5bf8b..4f4b1fd5b 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -3,10 +3,7 @@ Guidelines For Developers This document provides guidelines for making changes to the fish-shell project. This includes rules for how to format the code, naming -conventions, et cetera. Generally known as the style of the code. It -also includes recommended best practices such as creating a Travis CI -account so you can verify that your changes pass all the tests before -making a pull request. +conventions, et cetera. Generally known as the style of the code. See the bottom of this document for help on installing the linting and style reformatting tools discussed in the following sections. @@ -295,8 +292,7 @@ The source code for fish includes a large collection of tests. If you are making any changes to fish, running these tests is mandatory to make sure the behaviour remains consistent and regressions are not introduced. Even if you don’t run the tests on your machine, they will -still be run via the `Travis -CI `__ service. +still be run via Github Actions. You are strongly encouraged to add tests when changing the functionality of fish, especially if you are fixing a bug to help ensure there are no @@ -312,32 +308,6 @@ The tests can be run on your local computer on all operating systems. cmake path/to/fish-shell make test -Travis CI Build and Test -~~~~~~~~~~~~~~~~~~~~~~~~ - -The Travis Continuous Integration services can be used to test your -changes using multiple configurations. This is the same service that the -fish-shell project uses to ensure new changes haven’t broken anything. -Thus it is a really good idea that you leverage Travis CI before making -a pull request to avoid potential embarrassment at breaking the build. - -You will need to `fork the fish-shell repository on -GitHub `__, then setup -Travis to test your changes before making a pull request. - -1. `Sign in to Travis CI `__ with your - GitHub account, accepting the GitHub access permissions confirmation. -2. Once you’re signed in and your repositories are synchronized, go to - your `profile page `__ and enable the - fish-shell repository. -3. Push your changes to GitHub. - -You’ll receive an email when the tests are complete telling you whether -or not any tests failed. - -You’ll find the configuration used to control Travis in the -``.travis.yml`` file. - Git hooks ~~~~~~~~~ diff --git a/README.rst b/README.rst index e813e2fc6..b45a05d3a 100644 --- a/README.rst +++ b/README.rst @@ -231,7 +231,7 @@ questions (e.g., customizing colors, changing key bindings). Found a bug? Have an awesome idea? Please `open an issue `__. -.. |Build Status| image:: https://travis-ci.org/fish-shell/fish-shell.svg?branch=master - :target: https://travis-ci.org/fish-shell/fish-shell +.. |Build Status| image:: https://github.com/fish-shell/fish-shell/workflows/C/C++%20CI/badge.svg + :target: https://github.com/fish-shell/fish-shell/actions .. |Try in browser| image:: https://cdn.rawgit.com/rootnroll/library/assets/try.svg :target: https://rootnroll.com/d/fish-shell/