summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2017-06-13 12:14:47 +0200
committerArne Schwabe <arne@rfc2549.org>2017-06-13 13:28:40 +0200
commit1b6f7d1114f1d28bb8d3a878769de8d43c4ee9c8 (patch)
tree728910afab8a50824742c635aa8a9e2877a8854f /.travis.yml
parent165fd84d58e8707fd5597268fd449ac0e874a69f (diff)
Update travis to match current configuration
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml25
1 files changed, 17 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml
index 94fd328f..474af626 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,15 +1,24 @@
language: android
+git:
+ depth: 1 # avoid cloning cmocka of openvpn
jdk: oraclejdk8
android:
components:
- - android-25
+ - tools
+ - android-26
- build-tools
+ - build-tools-26.0.0
+ - ndk
+ - extra-android-m2repository
+ - platform-tools
+
licenses:
- '.+'
-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.2
- - echo y | android update sdk -u -a -t android-25
- - echo y | android update sdk -u -a -t android-23
- - echo y | android update sdk -u -a -t extra-android-m2repository
+
+ install:
+ sdkmanager ndk-bundle
+
+ script:
+ - cd main && ./misc/build-native.sh USE_BREAKPAD=1 -j8; cd ..
+ - ./gradlew build connectedCheck
+