Преглед изворни кода

Remove remains of Travis (#3941)

* Remove remains of Travis
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/3920

* Update docs/en/developers/03_Running_tests.md

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>

* Apply suggestions from code review

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Co-authored-by: Alexis Degrugillier <aledeg@users.noreply.github.com>
Alexandre Alapetite пре 4 година
родитељ
комит
0d31f89dd8
4 измењених фајлова са 10 додато и 15 уклоњено
  1. 0 1
      README.fr.md
  2. 0 4
      README.md
  3. 5 3
      docs/en/developers/03_Running_tests.md
  4. 5 7
      docs/fr/developers/03_Running_tests.md

+ 0 - 1
README.fr.md

@@ -1,4 +1,3 @@
-[![Statut de la compilation](https://travis-ci.org/FreshRSS/FreshRSS.svg)](https://travis-ci.org/FreshRSS/FreshRSS)
 [![Dons Liberapay](https://img.shields.io/liberapay/receives/FreshRSS.svg?logo=liberapay)](https://liberapay.com/FreshRSS/donate)
 
 * Lire ce document sur [github.com/FreshRSS/FreshRSS/](https://github.com/FreshRSS/FreshRSS/blob/edge/README.md) pour avoir les images et liens corrects.

+ 0 - 4
README.md

@@ -1,4 +1,3 @@
-[![Build Status][travis-badge]][travis-link]
 [![Liberapay donations](https://img.shields.io/liberapay/receives/FreshRSS.svg?logo=liberapay)](https://liberapay.com/FreshRSS/donate)
 
 * Read this document on [github.com/FreshRSS/FreshRSS/](https://github.com/FreshRSS/FreshRSS/blob/edge/README.md) to get the correct links and pictures.
@@ -144,6 +143,3 @@ and [Fever API](https://freshrss.github.io/FreshRSS/en/users/06_Fever_API.html)
 
 * [bcrypt.js](https://github.com/dcodeIO/bcrypt.js)
 * [phpQuery](https://github.com/phpquery/phpquery)
-
-[travis-badge]:https://travis-ci.org/FreshRSS/FreshRSS.svg?branch=edge
-[travis-link]:https://travis-ci.org/FreshRSS/FreshRSS

+ 5 - 3
docs/en/developers/03_Running_tests.md

@@ -27,8 +27,10 @@ make lint-fix # or, to fix the errors detected by the linter
 
 Similarly to PHPUnit, it downloads a [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) binary (i.e. `phpcs` or `phpcbf` depending on the command) and verifies its checksum.
 
-## Travis
+## GitHub Actions for Continuous Integration
 
-Tests are automatically run when you open a pull request on GitHub. It is done with [Travis CI](https://travis-ci.org/FreshRSS/FreshRSS/). This is done to ensure there is no regressions in your code. We cannot merge a PR if the tests fail so we'll ask you to fix bugs before to review your code.
+Tests are automatically run when you open a pull request on GitHub.
+They are performed with [GitHub Actions](https://github.com/FreshRSS/FreshRSS/actions).
+This ensures your code will not introduce some kind of regression. We will not merge a PR if tests fail so we will ask you to fix any bugs before reviewing your code.
 
-If you're interested in, you can take a look at [the configuration file](https://github.com/FreshRSS/FreshRSS/blob/edge/.travis.yml).
+If you are interested, you can take a look at [the configuration file](https://github.com/FreshRSS/FreshRSS/blob/edge/.github/workflows/tests.yml).

+ 5 - 7
docs/fr/developers/03_Running_tests.md

@@ -24,12 +24,10 @@ you can run the command directly with:
 NO_DOCKER=true make test
 ```
 
-## Travis
+## Intégration continue avec GitHub Actions
 
-Tests are automatically run when you open a pull request on GitHub. It is
-done with [Travis CI](https://travis-ci.org/FreshRSS/FreshRSS/). This is
-done to ensure there is no regressions in your code. We cannot merge a PR if
-the tests fail so we'll ask you to fix bugs before to review your code.
+Les tests sont lancés automatiquement dès que vous ouvrez une « pull request » sur GitHub.
+Ceux-ci sont lancés grace aux « [GitHub Actions](https://github.com/FreshRSS/FreshRSS/actions) ».
+Cette action est nécessaire pour s'assurer qu'aucune régression ne soit introduite dans le code. Nous n'accepterons aucune PR si les tests ne sont pas valides, nous vous demanderons donc de corriger tout ce qui doit l'être avant de commencer à relire votre code.
 
-If you're interested in, you can take a look at [the configuration
-file](https://github.com/FreshRSS/FreshRSS/blob/edge/.travis.yml).
+Si cela vous intéresse, vous pouvez étudier [le fichier de configuration](https://github.com/FreshRSS/FreshRSS/blob/edge/.github/workflows/tests.yml).