Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): don't run Percy or E2E tests on forks #2216

Merged
merged 1 commit into from
Sep 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ jobs:

- stage: Build and Deploy
name: Percy UI snapshots
if: (repo = prymitive/karma AND type != pull_request AND type != cron) OR (fork = true AND type = pull_request)
if: (repo = prymitive/karma AND type != pull_request AND type != cron AND fork = false)
<<: *DEFAULTS_JS
env:
- NODE_ENV=test
Expand All @@ -313,7 +313,7 @@ jobs:

- stage: E2E
name: Test demo site
if: (repo = prymitive/karma AND type != pull_request) OR (fork = true AND type = pull_request)
if: (repo = prymitive/karma AND type != pull_request AND fork = false)
<<: *DEFAULTS_JS
script:
- travis_retry make -C ui test-demo