Skip to content

Commit

Permalink
Merge pull request #1501 from pillarwallet/chore/update_android-api-i…
Browse files Browse the repository at this point in the history
…mage

Chore/update android api image
  • Loading branch information
alazarevski committed Nov 1, 2019
2 parents 22363c6 + 1a6aa47 commit 2f7a8bb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
13 changes: 11 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ executors:
working_directory: ~/pillarwallet
resource_class: large
docker:
- image: circleci/android:api-26-node8-alpha
- image: circleci/android:api-29-node
environment:
TERM: dumb
_JAVA_OPTIONS: "-Xmx3072m -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap"
Expand All @@ -33,6 +33,15 @@ executors:
docker:
- image: circleci/openjdk:8-node-browsers

node10-executor:
working_directory: ~/pillarwallet
docker:
- image: circleci/node:10.14
environment:
NODE_OPTIONS: "--max-old-space-size=4096"
resource_class: large
shell: /bin/bash --login -o pipefail

aliases:
- &restore_pod_cache
restore_cache:
Expand Down Expand Up @@ -153,7 +162,7 @@ aliases:
jobs:
build-and-test:
executor: ios-executor
executor: node10-executor
steps:
- checkout
- run:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"generate:ios:ipa": "mkdir ./ios/build/Build/Products/Release-iphoneos/Payload && cp -R ./ios/build/Build/Products/Release-iphoneos/pillarwallet.app ./ios/build/Build/Products/Release-iphoneos/Payload && cd ./ios/build/Build/Products/Release-iphoneos/ && /usr/bin/zip -r pillarwallet.ipa Payload && rm -rf Payload && mv pillarwallet.ipa ../../../..",
"build:ios": "react-native bundle --entry-file='index.js' --bundle-output='./ios/pillarwallet/main.jsbundle' --dev=false --platform='ios' --assets-dest='./ios'",
"build:android": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res",
"test": "jest",
"test": "jest --maxWorkers=10",
"test:coverage": "jest --coverage",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
Expand Down Expand Up @@ -289,4 +289,4 @@
"tty": "tty-browserify",
"tls": false
}
}
}
1 change: 1 addition & 0 deletions src/actions/__tests__/connectionKeyPairActions.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ describe('ConnectionKeyPair actions', () => {
});

beforeEach(() => {
jest.useFakeTimers();
const connectionKeyPairsStoreMock = {
connectionKeyPairs: {
data: [...connectionKeyPairsMock],
Expand Down

0 comments on commit 2f7a8bb

Please sign in to comment.