Skip to content

Commit 6b90bd8

Browse files
committed
dont record cypress on fork pr
1 parent 8687146 commit 6b90bd8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ before_script:
2424

2525
script:
2626
- npm run lint
27-
- cypress run --record --key $CYPRESS_KEY
27+
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then cypress run --record --key $CYPRESS_KEY; fi
28+
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then cypress run; fi

0 commit comments

Comments
 (0)