Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8210c6e authored by Marvin W.'s avatar Marvin W. 🐿️
Browse files

Update Travis CI support

parent 27628875
Loading
Loading
Loading
Loading
+15 −7
Original line number Diff line number Diff line
language: android
sudo: false
git:
  submodules: false
before_install:
  - git submodule update --init --recursive
before_script:
  - echo sdk.dir $ANDROID_HOME > local.properties
script:
  - export JAVA_OPTS="-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
  - export TERM=dumb
  - echo sdk.dir $ANDROID_HOME > local.properties
  - ./gradlew assembleDebug -x lint
  - export JAVA_OPTS="-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
  - ./gradlew build
android:
  components:
  - extra-android-m2repository
  - build-tools-23.0.1
  - platform-tools
  - tools
  - build-tools-23.0.2
  - android-23

  - extra-android-m2repository
before_cache:
  - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/