Skip to content
This repository was archived by the owner on Dec 12, 2020. It is now read-only.

Commit 81fb49f

Browse files
committed
feat: setup Cypress dashboard to record tests, close #3
1 parent ba0d4e0 commit 81fb49f

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ notifications:
77
email: true
88
node_js:
99
- '8'
10+
script:
11+
- npm test -- --record
1012
after_success:
1113
- npm run semantic-release
1214
branches:

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
[![NPM][npm-icon] ][npm-url]
66

77
[![Build status][ci-image] ][ci-url]
8+
[![Cypress dashboard][cypress-dashboard] ][cypress-badge]
89
[![semantic-release][semantic-image] ][semantic-url]
910
[![js-standard-style][standard-image]][standard-url]
1011

@@ -511,3 +512,5 @@ OTHER DEALINGS IN THE SOFTWARE.
511512
[semantic-url]: https://github.com/semantic-release/semantic-release
512513
[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg
513514
[standard-url]: http://standardjs.com/
515+
[cypress-badge]: https://img.shields.io/badge/cypress.io-tests-green.svg?style=flat-square
516+
[cypress-dashboard]: https://dashboard.cypress.io/#/projects/134ej7

cypress.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"viewportWidth": 300,
33
"viewportHeight": 100,
4-
"videoRecording": false
4+
"videoRecording": false,
5+
"projectId": "134ej7"
56
}

0 commit comments

Comments
 (0)