Skip to content

Commit 3591c8a

Browse files
authored
chore: update Cypress usage in Travis/AppVeyor (#245)
* tweak travis/appveyor * chore(cypress): disable video compression
1 parent d1faa67 commit 3591c8a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ install:
1414
- ps: Install-Product node $env:nodejs_version
1515
- npm install -g yarn
1616
- yarn install --frozen-lockfile
17+
- ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER) { yarn cypress install }
1718
- cd example
1819
- yarn install --frozen-lockfile
1920
- cd ..
@@ -32,3 +33,4 @@ test_script:
3233
- yarn lint
3334
- yarn test -i
3435
- yarn codecov
36+
- ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER) { yarn cypress run --record }

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ before_script:
3636
script:
3737
- yarn lint
3838
- yarn test -i && yarn codecov
39-
- if [[ "${TRAVIS_EVENT_TYPE}" = pull_request ]]; then yarn cypress run --config watchForFileChanges=false --record; fi
39+
- if [[ "${TRAVIS_EVENT_TYPE}" = pull_request ]]; then yarn cypress run --config --record; fi
4040

4141
jobs:
4242
include:

cypress.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"projectId": "rryrv7"
2+
"projectId": "rryrv7",
3+
"videoCompression": false
34
}

0 commit comments

Comments
 (0)