From 1b6f7d1114f1d28bb8d3a878769de8d43c4ee9c8 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Tue, 13 Jun 2017 12:14:47 +0200 Subject: Update travis to match current configuration --- .travis.yml | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) (limited to '.travis.yml') 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 + -- cgit v1.2.3