Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

Commit

Permalink
Add Cypress.
Browse files Browse the repository at this point in the history
  • Loading branch information
garetht committed Aug 5, 2017
1 parent 3c366e9 commit ec2bcbd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Expand Up @@ -9,7 +9,9 @@ env:
- TEST=1
- TYPECHECK=1
- LINT=1

- BROWSER=1
before_install:
- npm install -g cypress-cli
script:
- ./config/travis/test.sh
before_install: npm install react react-dom prop-types && npm install
Expand Down
5 changes: 5 additions & 0 deletions config/travis/test.sh
Expand Up @@ -14,3 +14,8 @@ fi;
if [ "$LINT" = 1 ]; then
npm run lint
fi;

if [ "$BROWSER" = 1 ]; then
npm run develop
cypress run --record --key
fi;
3 changes: 3 additions & 0 deletions cypress.json
@@ -0,0 +1,3 @@
{
"projectId": "gor1eu"
}
Empty file.

0 comments on commit ec2bcbd

Please sign in to comment.