mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-03 12:06:21 +01:00
OPS: retry e2e tests on travisci
This commit is contained in:
parent
c157b108ef
commit
68b1215712
2 changed files with 3 additions and 2 deletions
|
@ -85,7 +85,7 @@ script:
|
|||
- echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
|
||||
- npm i
|
||||
- npm i -g detox-cli
|
||||
- npm run e2e:release
|
||||
- npm run e2e:release || npm run e2e:release-no-build || npm run e2e:release-no-build
|
||||
|
||||
after_failure: ./tests/e2e/upload-artifacts.sh
|
||||
|
||||
|
|
|
@ -41,7 +41,8 @@
|
|||
"postinstall": "./node_modules/.bin/rn-nodeify --install buffer,events,process,stream,util,inherits,fs,path --hack; npm run releasenotes2json; npm run podinstall; npx jetify",
|
||||
"test": "npm run unit && npm run jest && npm run lint",
|
||||
"jest": "node node_modules/jest/bin/jest.js -b -w 1 tests/integration/*",
|
||||
"e2e:release": "detox build -c android.emu.release; detox test -c android.emu.release --record-videos all --take-screenshots all --headless",
|
||||
"e2e:release": "detox build -c android.emu.release; npm run e2e:release-no-build",
|
||||
"e2e:release-no-build": "detox test -c android.emu.release --record-videos all --take-screenshots all --headless",
|
||||
"e2e:debug": "(test -f android/app/build/outputs/apk/debug/app-debug.apk && test -f android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk) || detox build -c android.emu.debug; detox test -c android.emu.debug",
|
||||
"lint": "./node_modules/.bin/eslint *.js screen/**/*.js screen/ class/ models/ loc/ tests/integration/ tests/e2e/ tests/unit/",
|
||||
"lint:fix": "./node_modules/.bin/eslint *.js screen/**/*.js screen/ class/ models/ loc/ tests/integration/ tests/e2e/ tests/unit/ --fix",
|
||||
|
|
Loading…
Add table
Reference in a new issue