language: android
jdk:
- oraclejdk7
android:
  components:
  - tools
  - platform-tools
  - build-tools-23.0.3
  - android-23
  - extra-google-m2repository
  - extra-android-m2repository
  - addon-google_apis-google-23
script:
- "./gradlew build test --continue --stacktrace"
before_install:
- openssl aes-256-cbc -K $encrypted_b17644ab8cb1_key -iv $encrypted_b17644ab8cb1_iv
  -in app/google-services.json.enc -out app/google-services.json -d

language: android
jdk:
- oraclejdk7
android:
  components:
  - tools
  - platform-tools
  - build-tools-23.0.3
  - android-23
  - extra-google-m2repository
  - extra-android-m2repository
  - addon-google_apis-google-23
script:
- "./gradlew build test --continue --stacktrace"
before_install:
- openssl aes-256-cbc -K $encrypted_b17644ab8cb1_key -iv $encrypted_b17644ab8cb1_iv
  -in app/google-services.json.enc -out app/google-services.json -d
env:
  global:
    - MALLOC_ARENA_MAX=2 # reduce memory usage, maybe avoid some exit 137's?

Add malloc variable from robolectric
Add malloc variable from robolectric

Got a 137 error, robolectric has an extra env variable to try
and avoid this. Copy this line.
