Skip to content

Commit 362e84b

Browse files
committed
Add Cypress job to Travis CI
1 parent 20f40c9 commit 362e84b

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# testing
77
/coverage
88

9+
/cypress/videos
910
/cypress/fixtures
1011
/cypress/plugins
1112
/cypress/support

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ script:
1010
- yarn build
1111
- yarn test
1212
- yarn test:coverage
13+
- yarn cypress:run
1314

1415
after_success:
1516
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"test:watch": "jest --watch",
2323
"test:coverage": "jest --coverage",
2424
"cypress:open": "cypress open",
25+
"cypress:run": "cypress run",
2526
"storybook": "start-storybook -p 6006",
2627
"storybook:build": "build-storybook"
2728
},

0 commit comments

Comments
 (0)