Skip to content

Commit

Permalink
limiting BUCK's memory for CI
Browse files Browse the repository at this point in the history
Summary: Closes facebook#5666

Reviewed By: svcscm

Differential Revision: D2885968

Pulled By: androidtrunkagent

fb-gh-sync-id: 59614f89c18f8db96210e5c93f599055575330fa
  • Loading branch information
bestander authored and facebook-github-bot-7 committed Feb 1, 2016
1 parent cb2eeb4 commit 3e0631a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .buckconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@

[maven_repositories]
central = https://repo1.maven.org/maven2


1 change: 1 addition & 0 deletions .buckjavaargs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-Xmx512m -XX:+HeapDumpOnOutOfMemoryError
3 changes: 2 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,15 @@ test:
- source scripts/circle-ci-android-setup.sh && waitForAVD
override:
# buck tests
- buck/bin/buck test ReactAndroid/src/test/...
- buck/bin/buck test ReactAndroid/src/test/... --config build.threads=1
- buck/bin/buck build ReactAndroid/src/main/java/com/facebook/react
- buck/bin/buck build ReactAndroid/src/main/java/com/facebook/react/shell
# temp, we can't run instrumentation tests yet
- buck/bin/buck build ReactAndroid/src/androidTest/java/com/facebook/react/tests

# unit tests
- ./gradlew :ReactAndroid:testDebugUnitTest -PdisablePreDex

# build JS bundle for instrumentation tests
- node local-cli/cli.js bundle --platform android --dev true --entry-file ReactAndroid/src/androidTest/assets/TestBundle.js --bundle-output ReactAndroid/src/androidTest/assets/AndroidTestBundle.js
# run tests on the emulator
Expand Down

0 comments on commit 3e0631a

Please sign in to comment.