aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorFelix Bechstein <f@ub0r.de>2017-08-02 11:15:31 +0200
committerMohamed Zenadi <zeapo@users.noreply.github.com>2017-08-02 10:15:31 +0100
commite169235d961d93105f210d0c3c4dc29a21008c68 (patch)
tree1f684e80351d7b47662675485faef295ec6a281b /.travis.yml
parent37329a67f7f1fb009daeffa4844245be6f370ae0 (diff)
Fix more lint (#325)
* fix/ignore lint errors, run lint on travis * fix/ignore some lint warnings
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml25
1 files changed, 10 insertions, 15 deletions
diff --git a/.travis.yml b/.travis.yml
index f03121f0..89f9931d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,18 +1,5 @@
language: android
jdk: oraclejdk8
-android:
- components:
- - platform-tools
- - tools
- - build-tools-23.0.3
- - build-tools-24.0.2
- - build-tools-25.0.2
- - build-tools-25.0.3
- - android-23
- - android-24
- - android-25
- - extra-google-m2repository
- - extra-android-m2repository
licenses:
- 'android-sdk-preview-license-.+'
@@ -26,7 +13,15 @@ cache:
# ok no tests for now
# - sys-img-x86-android-22
-before_script:
+install:
+ - echo y | android update sdk -u -a -t tools
+ - echo y | android update sdk -u -a -t platform-tools
+ - echo y | android update sdk -u -a -t build-tools-25.0.3
+ - echo y | android update sdk -u -a -t android-25
+ - echo y | android update sdk -u -a -t extra-google-m2repository
+ - echo y | android update sdk -u -a -t extra-android-m2repository
+
+env:
- GRADLE_OPTS="-Xms40m -Xmx3g -XX:MaxPermSize=3g"
-script: "./gradlew clean build test -Dpre-dex=false"
+script: "./gradlew clean build test lintDebug -Dpre-dex=false"