.travis.yml 1.3 KB

12345678910111213141516171819202122232425
  1. language: java
  2. jdk: oraclejdk7
  3. before_install:
  4. - wget http://dl.google.com/android/android-sdk_r22.3-linux.tgz
  5. - tar xzf android-sdk_r22.3-linux.tgz
  6. - export ANDROID_HOME=$PWD/android-sdk-linux
  7. - export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
  8. - wget https://dl-ssl.google.com/android/repository/build-tools_r19-linux.zip
  9. - unzip build-tools_r19-linux.zip -d $ANDROID_HOME
  10. - mkdir -p $ANDROID_HOME/build-tools/
  11. - mv $ANDROID_HOME/android-4.4 $ANDROID_HOME/build-tools/19
  12. - echo yes | android update sdk --filter platform-tools --no-ui --force > /dev/null
  13. - echo yes | android update sdk --filter android-18 --no-ui --force > /dev/null
  14. - echo yes | android update sdk --filter android-19 --no-ui --force > /dev/null
  15. - echo yes | android update sdk --filter extra-android-support --no-ui --force > /dev/null
  16. - echo yes | android update sdk --filter extra-android-m2repository --no-ui --force
  17. > /dev/null
  18. env:
  19. global:
  20. - secure: d6TRFiViL9vd4qtg8T/500KZJBzN9QG6s7EBUxoXv8EfOdvwzW7zmLqdLHbq3YhNkzcOTV9WJH/kDAf5X1tXbEExmkQnld0VW0k2i9YZnzl4nfyS1u6PQ5Tb3v2pYqDW+R0Lg7gD60OeY6+aOm1vjYKW2ACAUJhgR2u0Nb/hgn0=
  21. - secure: jBvKNkP0FpIyZ1QWHEx5fJqZDrkRB2MRQZDlIzCAdA+ElWLwBOIcAQNHpJ2wH+taaSeZbuan1N70Ca0oUe+qqWgxDiDa4A1dJ/ZOgcSwTqtl7bCCuyZIdni0X1trh7xOHtCIWAuay5gIvUNoKPNbeFKpv6mNRzqOeeEbp+eJh+w=
  22. install: ./gradlew assemble --debug
  23. notifications:
  24. email: false