Browse Source

add travis configuration

pull/18/head
R4SAS 5 years ago
parent
commit
d3c8fb63b9
  1. 30
      .travis.yml
  2. 2
      app/build.gradle

30
.travis.yml

@ -0,0 +1,30 @@
language: android
jdk: oraclejdk8
dist: trusty
android:
components:
- tools
- platform-tools
- build-tools-28.0.3
- android-28
before_script:
- export NDK_VERSION=r19c
- curl -L https://dl.google.com/android/repository/android-ndk-${NDK_VERSION}-linux-x86_64.zip -O
- unzip -q android-ndk-${NDK_VERSION}-linux-x86_64.zip
- export ANDROID_NDK_HOME=`pwd`/android-ndk-${NDK_VERSION}
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
script:
- ./gradlew assembleDebug
notifications:
email: false

2
app/build.gradle

@ -14,7 +14,7 @@ android {
applicationId "org.purplei2p.i2pd" applicationId "org.purplei2p.i2pd"
targetSdkVersion 29 targetSdkVersion 29
minSdkVersion 14 minSdkVersion 14
versionCode 2321 versionCode 23210
versionName "2.32.1" versionName "2.32.1"
setProperty("archivesBaseName", archivesBaseName + "-" + versionName) setProperty("archivesBaseName", archivesBaseName + "-" + versionName)

Loading…
Cancel
Save