CI Cypress fix (#21)

* Cypress config added for PRs

* Badge added

* Cypress config fix
This commit is contained in:
David
2021-05-08 02:01:51 +02:00
committed by GitHub
parent 911dd5d257
commit 26f44782f7
2 changed files with 14 additions and 6 deletions

View File

@@ -24,4 +24,9 @@ branches:
script:
- yarn test --ci
- yarn dev & wait-on http://localhost:3000
- yarn cy:run --record --key $CY_KEY
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ];
then
yarn cy:run --record --key $CY_KEY;
else
yarn cy:run;
fi'

View File

@@ -4,6 +4,7 @@
[![Travis Build](https://travis-ci.com/TheDavidDelta/lingva-translate.svg?branch=main)](https://travis-ci.com/TheDavidDelta/lingva-translate)
[![Vercel Status](https://img.shields.io/github/deployments/TheDavidDelta/lingva-translate/Production?label=vercel&logo=vercel&color=f5f5f5)](https://lingva.ml/)
[![Cypress Tests](https://img.shields.io/endpoint?url=https://dashboard.cypress.io/badge/simple/qgjdyd&style=flat&logo=cypress)](https://dashboard.cypress.io/projects/qgjdyd/runs)
[![License](https://img.shields.io/github/license/TheDavidDelta/lingva-translate)](./LICENSE)
[![Awesome Humane Tech](https://raw.githubusercontent.com/humanetech-community/awesome-humane-tech/main/humane-tech-badge.svg?sanitize=true)](https://github.com/humanetech-community/awesome-humane-tech)
@@ -38,12 +39,14 @@ The easiest way is to use their creators' own platform, [Vercel](https://vercel.
## Instances
These are the currently known *Lingva* instances. Feel free to make a Pull Request including yours.
These are the currently known *Lingva* instances. Feel free to make a Pull Request including yours (please remember to add `[skip ci]` to the last commit).
| Domain | Hosting | SSL Provider |
|:------------------------------------------------------------:|:-----------------------------:|:----------------------------------------------------------------------------------------:|
| [lingva.ml](https://lingva.ml/) (Official) | [Vercel](https://vercel.com/) | [Let's Encrypt](https://www.ssllabs.com/ssltest/analyze.html?d=lingva.ml) |
| [translate.alefvanoon.xyz](https://translare.alefvanoon.xyz) | [Vercel](https://vercel.com/) | [Let's Encrypt](https://www.ssllabs.com/ssltest/analyze.html?d=translate.alefvanoon.xyz) |
| Domain | Hosting | SSL Provider |
|:------------------------------------------:|:-----------------------------:|:-------------------------------------------------------------------------:|
| [lingva.ml](https://lingva.ml/) (Official) | [Vercel](https://vercel.com/) | [Let's Encrypt](https://www.ssllabs.com/ssltest/analyze.html?d=lingva.ml) |
| [translate.alefvanoon.xyz](https://translare.alefvanoon.xyz) | [Vercel](https://vercel.com/) | [Let's Encrypt](https://www.ssllabs.com/ssltest/analyze.html?d=translate.alefvanoon.xyz&latest) |
## Public APIs
Nearly all the *Lingva* instances should supply a pair of public developer APIs: a RESTful one and a GraphQL one.