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 --- .gitmodules | 6 +++--- .travis.yml | 25 +++++++++++++++++-------- main/build.gradle | 5 +++++ main/src/main/res/values-tr/strings.xml | 2 +- remoteExample/build.gradle | 6 +++--- 5 files changed, 29 insertions(+), 15 deletions(-) diff --git a/.gitmodules b/.gitmodules index a762c16e..8ee8ab30 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,9 @@ [submodule "main/openvpn"] path = main/openvpn - url = https://github.com/schwabe/openvpn.git + url = ../openvpn.git [submodule "main/openssl"] path = main/openssl - url = https://github.com/schwabe/platform_external_openssl.git + url = ../platform_external_openssl.git [submodule "main/breakpad"] path = main/breakpad - url = https://github.com/schwabe/breakpad.git + url = ../breakpad.git 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 + diff --git a/main/build.gradle b/main/build.gradle index 9e28933b..8bdd763c 100644 --- a/main/build.gradle +++ b/main/build.gradle @@ -7,6 +7,11 @@ import com.android.builder.model.ProductFlavor apply plugin: 'com.android.application' +apply plugin: 'checkstyle' + checkstyle { + showViolations true + } + repositories { jcenter() maven { url "https://jitpack.io" } diff --git a/main/src/main/res/values-tr/strings.xml b/main/src/main/res/values-tr/strings.xml index 60565fdb..248865ba 100755 --- a/main/src/main/res/values-tr/strings.xml +++ b/main/src/main/res/values-tr/strings.xml @@ -418,7 +418,7 @@ Bağlantı denemeleri arasındaki en uzun süreyi girin. OpenVPN bir başarısız bağlantı girişiminden sonra bu değer kadar onun bekleme süresini yavaş yavaş arttıracak. Varsayılan 300 sn. Bağlantı denemeleri arasındaki azami süre Bağlantı denemesi arasında %s saniye bekleniyor - Diğer Ağlar...->VPN bölümünden bu ayarı kontrol edin]]> + Diğer Ağlar...->VPN bölümünden bu ayarı kontrol edin]]> OpenVPN bağlantısı kapalı (%s) Sıralamayı değiştir Sırala diff --git a/remoteExample/build.gradle b/remoteExample/build.gradle index 31fe7c96..7e063c75 100644 --- a/remoteExample/build.gradle +++ b/remoteExample/build.gradle @@ -6,12 +6,12 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 25 - buildToolsVersion '25.0.3' + compileSdkVersion 26 + buildToolsVersion '26.0.0' defaultConfig { minSdkVersion 15 - targetSdkVersion 25 + targetSdkVersion 26 versionCode 1 versionName "1.0" } -- cgit v1.2.3